SelectListenerPool

SelectListenerPool class template.

Extends AutoCtorPool with the additional methods demanded by ISelectListenerPoolInfo.

The additional T constructor argument parameters must appear after those for the mandatory IConnectionHandler constructor.

Constructors

this
this(IConnectionHandler.FinalizeDg finalize_dg, Args args)

Constructor.

Members

Functions

is_limited
bool is_limited()

IPoolInfo method, wrapper to super class implementation.

limit
size_t limit()

IPoolInfo method, wrapper to super class implementation.

opApply
int opApply(int delegate(ref IConnectionHandlerInfo) dg)

foreach iterator over informational interfaces to the active connections in the pool.

opApply
int opApply(int delegate(ref size_t, ref IConnectionHandlerInfo) dg)

foreach iterator over informational interfaces to the active connections in the pool, and their indices.

Inherited Members

From ISelectListenerPoolInfo

IConnectionHandlerInfo
alias IConnectionHandlerInfo = .IConnectionHandlerInfo

Convenience alias for implementing classes.

opApply
int opApply(int delegate(ref IConnectionHandlerInfo) dg)

foreach iterator over informational interfaces to the active connections in the pool.

opApply
int opApply(int delegate(ref size_t, ref IConnectionHandlerInfo) dg)

foreach iterator over informational interfaces to the active connections in the pool, and their indices.

Parameters

T

connection handler class

Args

additional constructor arguments for T

Meta