Class Qpid::Proton::Listener
In: lib/core/listener.rb
Parent: Object

A listener for incoming connections.

Create with {Container#listen} or {Container#listen_io}. To control the handler and connection options applied to incoming connections, pass a {ListenerHandler} on creation.

Methods

close   closed?   new   port   to_io  

Classes and Modules

Class Qpid::Proton::Listener::Handler

Attributes

condition  [R]  @return [Condition] The error condition if there is one
container  [R]  @return [Container] The listener‘s container

Public Class methods

Public Instance methods

Initiate closing the the listener. It will not be fully {closed?} until its {Handler#on_close} is called by the {Container} @param error [Condition] Optional error condition.

True if the listening socket is fully closed

Get the IP port used by the listener

Get the {IO} server socket used by the listener

[Validate]