daemon/core/emane/emane.py
def configure(self, session, msg):
        ''' Handle configuration messages for global EMANE config.
        '''
        r = self.emane_config.configure_emane(session, msg)

        # extra logic to start slave Emane object after nemid has been
        # configured from the master
        conftype = msg.gettlv(coreapi.CORE_TLV_CONF_TYPE)
        if conftype == coreapi.CONF_TYPE_FLAGS_UPDATE and \
           self.session.master == False:
            # instantiation was previously delayed by self.setup()
            # returning Emane.NOT_READY
            h = None
            with self.session._handlerslock:
                for h in self.session._handlers:
                    break
            self.session.instantiate(handler=h)

        return r
 Handle configuration messages for global EMANE config.
        
Handle configuration messages for global EMANE config.
Handle configuration messages for global EMANE config .
def configure(self, session, msg):
        r = self.emane_config.configure_emane(session, msg)
        conftype = msg.gettlv(coreapi.CORE_TLV_CONF_TYPE)
        if conftype == coreapi.CONF_TYPE_FLAGS_UPDATE and \
           self.session.master == False:
            h = None
            with self.session._handlerslock:
                for h in self.session._handlers:
                    break
            self.session.instantiate(handler=h)
        return r
def configure ( self , session , msg ) : r = self . emane_config . configure_emane ( session , msg ) conftype = msg . gettlv ( coreapi . CORE_TLV_CONF_TYPE ) if conftype == coreapi . CONF_TYPE_FLAGS_UPDATE and self . session . master == False : h = None with self . session . _handlerslock : for h in self . session . _handlers : break self . session . instantiate ( handler = h ) return r
Handle configuration messages for global EMANE config.
Handle configuration messages for global EMANE config .
''' Handle configuration messages for global EMANE config.
        ''' # extra logic to start slave Emane object after nemid has been # configured from the master # instantiation was previously delayed by self.setup() # returning Emane.NOT_READY
self
session
msg