Package gofer :: Module bridge :: Class Bridge
[hide private]
[frames] | no frames]

Class Bridge

source code

messaging.endpoint.Endpoint --+    
                              |    
    messaging.consumer.Consumer --+
                                  |
                                 Bridge

Instance Methods [hide private]
 
__init__(self, url, uuid, port, host='localhost.localdomain') source code
 
dispatch(self, env)
Dispatch received request.
source code

Inherited from messaging.consumer.Consumer: address, close, id, join, received, start, stop, valid

Inherited from messaging.endpoint.Endpoint: __del__, __str__, ack, open, session

Inherited from messaging.endpoint.Endpoint (private): _lock, _unlock

Class Methods [hide private]

Inherited from messaging.consumer.Consumer: subject

Class Variables [hide private]
  HOST = 'localhost.localdomain'

Inherited from messaging.endpoint.Endpoint: LOCALHOST, ssnpool

Instance Variables [hide private]

Inherited from messaging.endpoint.Endpoint: url, uuid

Method Details [hide private]

__init__(self, url, uuid, port, host='localhost.localdomain')
(Constructor)

source code 
Parameters:
  • destination - The destination to consumer.
Overrides: messaging.endpoint.Endpoint.__init__
(inherited documentation)

dispatch(self, env)

source code 

Dispatch received request.

Parameters:
  • envelope - The received envelope.
Overrides: messaging.consumer.Consumer.dispatch
(inherited documentation)