Class Qpid::Proton::Endpoint
In: lib/core/endpoint.rb
Parent: Object

Endpoint is the parent classes for Link and Session.

It provides a namespace for constant values that relate to the current state of both links and sessions.

@example

  conn = Qpid::Proton::Connection.new
  puts "Local connection flags : #{conn.state || Qpid::Proton::Endpoint::LOCAL_MASK}"
  puts "Remote connection flags: #{conn.state || Qpid::Proton::Endpoint::REMOTE_MASK}"

Methods

Included Modules

Util::Engine

Constants

LOCAL_UNINIT = Cproton::PN_LOCAL_UNINIT   The local connection is uninitialized.
LOCAL_ACTIVE = Cproton::PN_LOCAL_ACTIVE   The local connection is active.
LOCAL_CLOSED = Cproton::PN_LOCAL_CLOSED   The local connection is closed.
REMOTE_UNINIT = Cproton::PN_REMOTE_UNINIT   The remote connection is unitialized.
REMOTE_ACTIVE = Cproton::PN_REMOTE_ACTIVE   The remote connection is active.
REMOTE_CLOSED = Cproton::PN_REMOTE_CLOSED   The remote connection is closed.
LOCAL_MASK = Cproton::PN_LOCAL_UNINIT | Cproton::PN_LOCAL_ACTIVE | Cproton::PN_LOCAL_CLOSED   Bitmask for the local-only flags.
REMOTE_MASK = Cproton::PN_REMOTE_UNINIT | Cproton::PN_REMOTE_ACTIVE | Cproton::PN_REMOTE_CLOSED   Bitmask for the remote-only flags.

Public Class methods

@private

Public Instance methods

Return the transport associated with this endpoint.

@return [Transport] The transport.

[Validate]