Package gofer :: Package rmi :: Module policy :: Class Trigger
[hide private]
[frames] | no frames]

Class Trigger

source code

Asynchronous trigger.

Instance Methods [hide private]
 
__init__(self, policy, destination, request, any) source code
 
__send(self)
Send the request using the specified policy object and generated serial number.
source code
 
__str__(self) source code
 
__call__(self) source code
Instance Variables [hide private]
dict __any
Any (extra) data.
Destination __destination
The AMQP destination.
bool __pending
pending flag.
Asynchronous __policy
The policy object.
object __request
A request to send.
str __sn
serial number
Properties [hide private]
str sn
Get serial number.
Method Details [hide private]

__init__(self, policy, destination, request, any)
(Constructor)

source code 
Parameters:
  • policy (Asynchronous) - The policy object.
  • destination (Destination) - The AMQP destination.
  • request (object) - A request to send.
  • any - Any (extra) data.

Property Details [hide private]

sn

Get serial number.

Get Method:
unreachable.sn(self) - Get serial number.
Type:
str