AsyncClientConnection

Asynchrous socket which uses separate thread for operation

Constructors

this
this(AsyncSocketCallback cb)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

connect
void connect(string host, ushort port)
Undocumented in source. Be warned that the author may not have intended to support it.
disconnect
void disconnect()
Undocumented in source. Be warned that the author may not have intended to support it.
doDisconnect
void doDisconnect()
Undocumented in source. Be warned that the author may not have intended to support it.
send
void send(ubyte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
threadProc
void threadProc()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

state
SocketState state [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_callback
AsyncSocketCallback _callback;
Undocumented in source.
_errorSet
SocketSet _errorSet;
Undocumented in source.
_queue
RunnableQueue _queue;
Undocumented in source.
_readSet
SocketSet _readSet;
Undocumented in source.
_sock
Socket _sock;
Undocumented in source.
_state
SocketState _state;
Undocumented in source.
_writeSet
SocketSet _writeSet;
Undocumented in source.

Inherited Members

From AsyncSocket

state
SocketState state [@property getter]
Undocumented in source.
connect
void connect(string host, ushort port)
Undocumented in source.
disconnect
void disconnect()
Undocumented in source.
send
void send(ubyte[] data)
Undocumented in source.

Meta