Example #1
0
    def start_agent(self):
        ''' get endpoints to communicate with manager '''
        self.connector.set_agent(self)
#        super(PyonApeAgent,self).start_agent() ---> parent of PyonApeAgent called, ie- super(super())
#        super(ChannelCommunicator,self).start_agent() ---> ERROR: cannot load class
        PyonApeAgent.start_agent(self) ## ugly, but invokes correct superclass
Example #2
0
 def __init__(self):
     PyonApeAgent.__init__(self)
     ApeComponent.__init__(self, 'AGENT', self, None)