A utility that exposes 'endpoint' events i.e. the open/close for
links, sessions and connections in a more intuitive manner. A XXX_opened
method will be called when both local and remote peers have opened the
link, session or connection. This can be used to confirm a locally
initiated action for example. A XXX_opening method will be called when
the remote peer has requested an open that was not initiated locally. By
default this will simply open locally, which then triggers the XXX_opened
call. The same applies to close.
|
|
__init__(self,
peer_close_is_error=False,
delegate=None)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from _events.Handler:
add,
handlers,
on_unhandled
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|