daemon/core/session.py
def confobj(self, objname, session, msg):
        ''' Invoke the callback for an object upon receipt of a Configure
            Message for that object. A no-op if the object doesn't exist.
        '''
        replies = []
        self._confobjslock.acquire()
        if objname == "all":
            for objname in self._confobjs:
                (type, callback) = self._confobjs[objname]
                reply = callback(session, msg)
                if reply is not None:
                    replies.append(reply)
            self._confobjslock.release()
            return replies
        if objname in self._confobjs:
            (type, callback) = self._confobjs[objname]
            self._confobjslock.release()
            reply = callback(session, msg)
            if reply is not None:
                replies.append(reply)
            return replies
        else:
            self.info("session object doesn't own model '%s', ignoring" % \
                      objname)
        self._confobjslock.release()
        return replies
 Invoke the callback for an object upon receipt of a Configure
            Message for that object. A no-op if the object doesn't exist.
        
Invoke the callback for an object upon receipt of a Configure
Message for that object. A no-op if the object doesn't exist.
Invoke the callback for an object upon receipt of a Configure Message for that object . A no - op if the object doesn ' t exist .
def confobj(self, objname, session, msg):
        replies = []
        self._confobjslock.acquire()
        if objname == "all":
            for objname in self._confobjs:
                (type, callback) = self._confobjs[objname]
                reply = callback(session, msg)
                if reply is not None:
                    replies.append(reply)
            self._confobjslock.release()
            return replies
        if objname in self._confobjs:
            (type, callback) = self._confobjs[objname]
            self._confobjslock.release()
            reply = callback(session, msg)
            if reply is not None:
                replies.append(reply)
            return replies
        else:
            self.info("session object doesn't own model '%s', ignoring" % \
                      objname)
        self._confobjslock.release()
        return replies
def confobj ( self , objname , session , msg ) : replies = [ ] self . _confobjslock . acquire ( ) if objname == "all" : for objname in self . _confobjs : ( type , callback ) = self . _confobjs [ objname ] reply = callback ( session , msg ) if reply is not None : replies . append ( reply ) self . _confobjslock . release ( ) return replies if objname in self . _confobjs : ( type , callback ) = self . _confobjs [ objname ] self . _confobjslock . release ( ) reply = callback ( session , msg ) if reply is not None : replies . append ( reply ) return replies else : self . info ( "session object doesn't own model '%s', ignoring" % objname ) self . _confobjslock . release ( ) return replies
Invoke the callback for an object upon receipt of a Configure
Message for that object.
Invoke the callback for an object upon receipt of a Configure Message for that object .
''' Invoke the callback for an object upon receipt of a Configure
            Message for that object. A no-op if the object doesn't exist.
        '''
self
objname
session
msg