Class | Qpid::Proton::Session |
In: |
lib/core/session.rb
|
Parent: | Endpoint |
A session is the parent for senders and receivers.
A Session has a single parent Qpid::Proton::Connection instance.
PROTON_METHOD_PREFIX | = | "pn_session" | @private |
Closed the session.
Once this operation has completed, the state flag will be set. This may be called without calling open, in which case it is the equivalence of calling open and then close immediately.
Retrieves the next session from a given connection that matches the specified state mask.
When uses with Connection#session_head an application can access all of the session son the connection that match the given state.
@param state_mask [Fixnum] The state mask to match.
@return [Session, nil] The next session if one matches, or nil.