Package proton :: Module _events :: Class Event
[frames] | no frames]

type Event

source code


Instance Methods
 
__init__(self, impl, number) source code
 
copy(self) source code
 
dispatch(self, handler, type=None) source code
 
__getattr__(self, name) source code
 
__repr__(self) source code

Inherited from _wrapper.Wrapper: __del__, __delattr__, __eq__, __hash__, __ne__, __setattr__

Static Methods
 
wrap(impl, number=None) source code
Class Variables
  REACTOR_INIT = PN_REACTOR_INIT
  REACTOR_QUIESCED = PN_REACTOR_QUIESCED
  REACTOR_FINAL = PN_REACTOR_FINAL
  TIMER_TASK = PN_TIMER_TASK
  CONNECTION_INIT = PN_CONNECTION_INIT
  CONNECTION_BOUND = PN_CONNECTION_BOUND
  CONNECTION_UNBOUND = PN_CONNECTION_UNBOUND
  CONNECTION_LOCAL_OPEN = PN_CONNECTION_LOCAL_OPEN
  CONNECTION_LOCAL_CLOSE = PN_CONNECTION_LOCAL_CLOSE
  CONNECTION_REMOTE_OPEN = PN_CONNECTION_REMOTE_OPEN
  CONNECTION_REMOTE_CLOSE = PN_CONNECTION_REMOTE_CLOSE
  CONNECTION_FINAL = PN_CONNECTION_FINAL
  SESSION_INIT = PN_SESSION_INIT
  SESSION_LOCAL_OPEN = PN_SESSION_LOCAL_OPEN
  SESSION_LOCAL_CLOSE = PN_SESSION_LOCAL_CLOSE
  SESSION_REMOTE_OPEN = PN_SESSION_REMOTE_OPEN
  SESSION_REMOTE_CLOSE = PN_SESSION_REMOTE_CLOSE
  SESSION_FINAL = PN_SESSION_FINAL
  LINK_INIT = PN_LINK_INIT
  LINK_LOCAL_OPEN = PN_LINK_LOCAL_OPEN
  LINK_LOCAL_CLOSE = PN_LINK_LOCAL_CLOSE
  LINK_LOCAL_DETACH = PN_LINK_LOCAL_DETACH
  LINK_REMOTE_OPEN = PN_LINK_REMOTE_OPEN
  LINK_REMOTE_CLOSE = PN_LINK_REMOTE_CLOSE
  LINK_REMOTE_DETACH = PN_LINK_REMOTE_DETACH
  LINK_FLOW = PN_LINK_FLOW
  LINK_FINAL = PN_LINK_FINAL
  DELIVERY = PN_DELIVERY
  TRANSPORT = PN_TRANSPORT
  TRANSPORT_ERROR = PN_TRANSPORT_ERROR
  TRANSPORT_HEAD_CLOSED = PN_TRANSPORT_HEAD_CLOSED
  TRANSPORT_TAIL_CLOSED = PN_TRANSPORT_TAIL_CLOSED
  TRANSPORT_CLOSED = PN_TRANSPORT_CLOSED
  SELECTABLE_INIT = PN_SELECTABLE_INIT
  SELECTABLE_UPDATED = PN_SELECTABLE_UPDATED
  SELECTABLE_READABLE = PN_SELECTABLE_READABLE
  SELECTABLE_WRITABLE = PN_SELECTABLE_WRITABLE
  SELECTABLE_EXPIRED = PN_SELECTABLE_EXPIRED
  SELECTABLE_ERROR = PN_SELECTABLE_ERROR
  SELECTABLE_FINAL = PN_SELECTABLE_FINAL
Properties
  clazz
  root
  context
Returns the context object associated with the event.
  reactor
Returns the reactor associated with the event.
  transport
Returns the transport associated with the event, or null if none is associated with it.
  connection
Returns the connection associated with the event, or null if none is associated with it.
  session
Returns the session associated with the event, or null if none is associated with it.
  link
Returns the link associated with the event, or null if none is associated with it.
  sender
Returns the sender link associated with the event, or null if none is associated with it.
  receiver
Returns the receiver link associated with the event, or null if none is associated with it.
  delivery
Returns the delivery associated with the event, or null if none is associated with it.
Method Details

__init__(self, impl, number)
(Constructor)

source code 
Overrides: EventBase.__init__

dispatch(self, handler, type=None)

source code 
Overrides: EventBase.dispatch

__getattr__(self, name)
(Qualification operator)

source code 
Overrides: _wrapper.Wrapper.__getattr__

__repr__(self)
(Representation operator)

source code 
Overrides: _wrapper.Wrapper.__repr__

Property Details

clazz

root

context

Returns the context object associated with the event. The type of this depend on the type of event.

reactor

Returns the reactor associated with the event.

transport

Returns the transport associated with the event, or null if none is associated with it.

connection

Returns the connection associated with the event, or null if none is associated with it.

session

Returns the session associated with the event, or null if none is associated with it.

link

Returns the link associated with the event, or null if none is associated with it.

sender

Returns the sender link associated with the event, or null if none is associated with it. This is essentially an alias for link(), that does an additional checkon the type of the link.

receiver

Returns the receiver link associated with the event, or null if none is associated with it. This is essentially an alias for link(), that does an additional checkon the type of the link.

delivery

Returns the delivery associated with the event, or null if none is associated with it.