daemon/core/session.py
def sendnodeemuid(self, handler, nodenum):
        ''' Send back node messages to the GUI for node messages that had
            the status request flag.
        '''
        if handler is None:
            return
        if nodenum in handler.nodestatusreq:
            tlvdata = ""
            tlvdata += coreapi.CoreNodeTlv.pack(coreapi.CORE_TLV_NODE_NUMBER,
                                                nodenum)
            tlvdata += coreapi.CoreNodeTlv.pack(coreapi.CORE_TLV_NODE_EMUID,
                                                nodenum)
            reply = coreapi.CoreNodeMessage.pack(coreapi.CORE_API_ADD_FLAG \
                                               | coreapi.CORE_API_LOC_FLAG,
                                                 tlvdata)
            try:
                handler.request.sendall(reply)
            except Exception, e:
                self.warn("sendall() for node: %d error: %s" % (nodenum, e))
            del handler.nodestatusreq[nodenum]
 Send back node messages to the GUI for node messages that had
            the status request flag.
        
Send back node messages to the GUI for node messages that had
the status request flag.
Send back node messages to the GUI for node messages that had the status request flag .
def sendnodeemuid(self, handler, nodenum):
        if handler is None:
            return
        if nodenum in handler.nodestatusreq:
            tlvdata = ""
            tlvdata += coreapi.CoreNodeTlv.pack(coreapi.CORE_TLV_NODE_NUMBER,
                                                nodenum)
            tlvdata += coreapi.CoreNodeTlv.pack(coreapi.CORE_TLV_NODE_EMUID,
                                                nodenum)
            reply = coreapi.CoreNodeMessage.pack(coreapi.CORE_API_ADD_FLAG \
                                               | coreapi.CORE_API_LOC_FLAG,
                                                 tlvdata)
            try:
                handler.request.sendall(reply)
            except Exception, e:
                self.warn("sendall() for node: %d error: %s" % (nodenum, e))
            del handler.nodestatusreq[nodenum]
def sendnodeemuid ( self , handler , nodenum ) : if handler is None : return if nodenum in handler . nodestatusreq : tlvdata = "" tlvdata += coreapi . CoreNodeTlv . pack ( coreapi . CORE_TLV_NODE_NUMBER , nodenum ) tlvdata += coreapi . CoreNodeTlv . pack ( coreapi . CORE_TLV_NODE_EMUID , nodenum ) reply = coreapi . CoreNodeMessage . pack ( coreapi . CORE_API_ADD_FLAG | coreapi . CORE_API_LOC_FLAG , tlvdata ) try : handler . request . sendall ( reply ) except Exception , e : self . warn ( "sendall() for node: %d error: %s" % ( nodenum , e ) ) del handler . nodestatusreq [ nodenum ]
Send back node messages to the GUI for node messages that had
the status request flag.
Send back node messages to the GUI for node messages that had the status request flag .
''' Send back node messages to the GUI for node messages that had
            the status request flag.
        '''
self
handler
nodenum