ClientSet

Class to keep track of a set of registered clients, including the capacity to iterate over them. This class is used only in debug builds, where it is useful to be able to tell exactly which clients are registered.

Constructors

this
this()

Constructor.

Members

Functions

add_
void add_(ISelectClient c)

Adds a client to the set.

length
size_t length()
opApply
int opApply(int delegate(ref ISelectClient) dg)

foreach operator over registered clients.

remove_
void remove_(ISelectClient c)

Removes a client from the set.

Inherited Members

From IRegisteredClients

opOpAssign
void opOpAssign(ISelectClient client)

Adds a client to the set of registered clients. Calls the client's registered() method, then calls the abstract add_() method.

add_
void add_(ISelectClient client)
Undocumented in source.
opOpAssign
void opOpAssign(ISelectClient client)

Removes a client from the set of registered clients. Calls the client's unregistered() method, then calls the abstract remove_() method.

remove_
void remove_(ISelectClient client)
Undocumented in source.
length
size_t length()

Meta