A general purpose handler that makes the proton-c events somewhat
simpler to deal with and/or avoids repetitive tasks for common use
cases.
|
__init__(self,
prefetch=10,
auto_accept=True,
auto_settle=True,
peer_close_is_error=False)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
on_transport_error(self,
event)
Called when some error is encountered with the transport over which
the AMQP connection is to be established. |
source code
|
|
|
on_connection_error(self,
event)
Called when the peer closes the connection with an error condition. |
source code
|
|
|
on_session_error(self,
event)
Called when the peer closes the session with an error condition. |
source code
|
|
|
on_link_error(self,
event)
Called when the peer closes the link with an error condition. |
source code
|
|
|
on_reactor_init(self,
event)
Called when the event loop - the reactor - starts. |
source code
|
|
|
|
|
on_connection_closed(self,
event)
Called when the connection is closed. |
source code
|
|
|
on_session_closed(self,
event)
Called when the session is closed. |
source code
|
|
|
on_link_closed(self,
event)
Called when the link is closed. |
source code
|
|
|
on_connection_closing(self,
event)
Called when the peer initiates the closing of the connection. |
source code
|
|
|
on_session_closing(self,
event)
Called when the peer initiates the closing of the session. |
source code
|
|
|
on_link_closing(self,
event)
Called when the peer initiates the closing of the link. |
source code
|
|
|
on_disconnected(self,
event)
Called when the socket is disconnected. |
source code
|
|
|
on_sendable(self,
event)
Called when the sender link has credit and messages can therefore be
transferred. |
source code
|
|
|
on_accepted(self,
event)
Called when the remote peer accepts an outgoing message. |
source code
|
|
|
on_rejected(self,
event)
Called when the remote peer rejects an outgoing message. |
source code
|
|
|
|
|
|
|
|
Inherited from Acking :
accept ,
reject ,
release ,
settle
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|