Package pulp :: Package messaging :: Module base :: Class Agent
[hide private]
[frames] | no frames]

Class Agent

source code

The agent base provides a dispatcher and automatic registration of methods based on decorators.

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

__init__(self, consumer)
(Constructor)

source code 

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

Parameters:
  • consumer (pulp.messaging.Consumer) - A qpid consumer.