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.

Methods

Included Modules

Util::Deprecation Util::Wrapper

Constants

PROTON_METHOD_PREFIX = "pn_session"   @private

Public Class methods

@private

@private

Public Instance methods

Close the local end of the session. The remote end may or may not be closed. @param error [Condition] Optional error condition to send with the close.

Returns the parent connection.

@return [Connection] The connection.

Get the links on this Session. @overload each_link

  @yieldparam l [Link] pass each link to block

@overload each_link

  @return [Enumerator] enumerator over links

Get the {Receiver} links - see {each_link}

Get the {Sender} links - see {each_link}

Create and open a {Receiver} link, see {Receiver#open} @param opts [Hash] receiver options, see {Receiver#open} @return [Receiver]

Create and open a {Sender} link, see {open} @param opts [Hash] sender options, see {Sender#open} @return [Sender]

@deprecated use {open_sender}

[Validate]