Qpid Proton C API  0.37.0
Proactor events

Unsettled API - Events used by the proactor.

Unsettled API - Events used by the proactor.

pn_proactor_wait() returns a subset of the event types defined by pn_event_type_t.

The PN_REACTOR_*, PN_SELECTABLE_*, and PN_*_FINAL events are not returned.

Enumeration Brief description, see pn_event_type_t for more
PN_CONNECTION_INIT The connection has been created.
PN_CONNECTION_BOUND The connection has been bound to a transport.
PN_TIMER_TASK A timer event has occurred.
PN_CONNECTION_INIT The connection has been created.
PN_CONNECTION_BOUND The connection has been bound to a transport.
PN_CONNECTION_UNBOUND The connection has been unbound from its transport.
PN_CONNECTION_LOCAL_OPEN The local connection endpoint has been closed.
PN_CONNECTION_REMOTE_OPEN The remote endpoint has opened the connection.
PN_CONNECTION_LOCAL_CLOSE The local connection endpoint has been closed.
PN_CONNECTION_REMOTE_CLOSE The remote endpoint has closed the connection.
PN_SESSION_INIT The session has been created.
PN_SESSION_LOCAL_OPEN The local session endpoint has been opened.
PN_SESSION_REMOTE_OPEN The remote endpoint has opened the session.
PN_SESSION_LOCAL_CLOSE The local session endpoint has been closed.
PN_SESSION_REMOTE_CLOSE The remote endpoint has closed the session.
PN_LINK_INIT The link has been created.
PN_LINK_LOCAL_OPEN The local link endpoint has been opened.
PN_LINK_REMOTE_OPEN The remote endpoint has opened the link.
PN_LINK_LOCAL_CLOSE The local link endpoint has been closed.
PN_LINK_REMOTE_CLOSE The remote endpoint has closed the link.
PN_LINK_LOCAL_DETACH The local link endpoint has been detached.
PN_LINK_REMOTE_DETACH The remote endpoint has detached the link.
PN_LINK_FLOW The flow control state for a link has changed.
PN_DELIVERY A delivery has been created or updated.
PN_TRANSPORT The transport has new data to read and/or write.
PN_TRANSPORT_AUTHENTICATED The transport has authenticated.
PN_TRANSPORT_ERROR Indicates that a transport error has occurred.
PN_TRANSPORT_HEAD_CLOSED Indicates that the "head" or writing end of the transport has been closed.
PN_TRANSPORT_TAIL_CLOSED Indicates that the tail of the transport has been closed.
PN_TRANSPORT_CLOSED The final event for a proactor connection, the transport is closed.
PN_LISTENER_OPEN The listener is listening.
PN_LISTENER_ACCEPT Indicates the listener has an incoming connection, call pn_listener_accept2() to accept it.
PN_LISTENER_CLOSE Indicates the listener has closed.
PN_PROACTOR_INTERRUPT Indicates pn_proactor_interrupt() was called to interrupt a proactor thread.
PN_PROACTOR_TIMEOUT Timeout set by pn_proactor_set_timeout() time limit expired.
PN_PROACTOR_INACTIVE The proactor has become inactive: all listeners and connections were closed and the timeout (if set) expired or was cancelled.
PN_CONNECTION_WAKE pn_connection_wake() was called.
PN_RAW_CONNECTION_CONNECTED The raw connection connected.
PN_RAW_CONNECTION_CLOSED_READ The remote end of the raw connection closed the connection so that we can no longer read.
PN_RAW_CONNECTION_CLOSED_WRITE The remote end of the raw connection closed the connection so that we can no longer write.
PN_RAW_CONNECTION_DISCONNECTED The raw connection is disconnected.
PN_RAW_CONNECTION_NEED_READ_BUFFERS The raw connection might need more read buffers.
PN_RAW_CONNECTION_NEED_WRITE_BUFFERS The raw connection might need more write buffers.
PN_RAW_CONNECTION_READ The raw connection read bytes: The bytes that were read are in one of the read buffers given to the raw connection.
PN_RAW_CONNECTION_WRITTEN The raw connection has finished a write and the buffers that were used are no longer in use and can be recycled.
PN_RAW_CONNECTION_WAKE The raw connection was woken by pn_raw_connection_wake.