Package pulp :: Package client :: Package agent :: Module main :: Class Agent
[hide private]
[frames] | no frames]

Class Agent

source code

messaging.base.Agent --+
                       |
                      Agent

Pulp agent.

Instance Methods [hide private]
 
__init__(self, actions=[])
Construct the Dispatcher using the specified AMQP consumer and start the AMQP consumer.
source code
 
id(self)
Get agent id.
source code
    Inherited from messaging.base.Agent
 
close(self)
Close and release all resources.
source code
Instance Variables [hide private]
    Inherited from messaging.base.Agent
pulp.messaging.Consumer consumer
A qpid consumer.
Method Details [hide private]

__init__(self, actions=[])
(Constructor)

source code 

Construct the Dispatcher using the specified AMQP consumer and start the AMQP consumer.

Parameters:
  • consumer - A qpid consumer.
Overrides: messaging.base.Agent.__init__
(inherited documentation)

id(self)

source code 

Get agent id.

Returns:
The agent UUID.