module Qpid::Proton::Event
Constants
- CONNECTION_BOUND
A conneciton has been bound toa transport.
- CONNECTION_FINAL
A connection has been freed and any outstanding processing has been completed. This is the final event htat will ever be issued for a connection
- CONNECTION_INIT
A connection has been created. This is the first even that will ever be issued for a connection.
- CONNECTION_LOCAL_CLOSE
A local connection endpoint has been closed.
- CONNECTION_LOCAL_OPEN
A local connection endpoint has been opened.
- CONNECTION_REMOTE_CLOSE
A remote endpoint has closed its connection.
- CONNECTION_REMOTE_OPEN
A remote endpoint has opened its connection.
- CONNECTION_UNBOUND
A connection has been unbound from its transport.
- DELIVERY
A delivery has been created or updated.
- LINK_FINAL
A link has been freed and any outstanding processing has been completed. This is the final event htat will ever be issued for a link.
- LINK_FLOW
The flow control state for a link has changed.
- LINK_INIT
A link has been created. This is the first event that will ever be issued for a link.
- LINK_LOCAL_CLOSE
A local link endpoint has been closed.
- LINK_LOCAL_DETACH
A local link endpoint has been detached.
- LINK_LOCAL_OPEN
A local link endpoint has been opened.
- LINK_REMOTE_CLOSE
A remote endpoint has closed its link.
- LINK_REMOTE_DETACH
A remote endpoint has detached its link.
- LINK_REMOTE_OPEN
A remote endpoint has opened its link.
- NONE
Defined as a programming convenience. No even of this type will ever be generated.
- REACTOR_FINAL
A reactor has been stopred.
- REACTOR_INIT
A reactor has been started.
- REACTOR_QUIESCED
A reactor has no more events to process.
- SELECTABLE_ERROR
- SELECTABLE_EXPIRED
- SELECTABLE_FINAL
- SELECTABLE_INIT
- SELECTABLE_READABLE
- SELECTABLE_UPDATED
- SELECTABLE_WRITABLE
- SESSION_FINAL
A session has been freed and any outstanding processing has been completed. This is the final event that will ever be issued for a session
- SESSION_INIT
A session has been created. This is the first event that will ever be issues for a session.
- SESSION_LOCAL_CLOSE
A local session endpoint has been closed.
- SESSION_LOCAL_OPEN
A local session endpoint has been opened.
- SESSION_REMOTE_CLOSE
A remote endpoint has closed its session.
- SESSION_REMOTE_OPEN
A remote endpoint has opened its session.
- TIMER_TASK
A timer event has occurred.
- TRANSPORT
A transport has new data to read and/or write.
- TRANSPORT_CLOSED
Indicates that both the head and tail of a transport are closed.
- TRANSPORT_ERROR
Indicates that a transport error has occurred. @see Qpid::Proton::Transport#condition To access the details of the error.
- TRANSPORT_HEAD_CLOSED
Indicates that the head of a transport has been closed. This means the transport will never produce more bytes for output to the network.
- TRANSPORT_TAIL_CLOSED
Indicates that the trail of a transport has been closed. This means the transport will never be able to process more bytes from the network.
Public Class Methods
@private
# File lib/event/event_base.rb, line 23 def self.dispatch(handler, method, *args) args = args.last unless args.nil? if handler.respond_to? method.to_sym return handler.__send__(method, args) elsif handler.respond_to? :on_unhandled return handler.__send__(:on_unhandled, method, args) end end