MyClient

Undocumented in source.

Constructors

this
this()
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

onActive
void onActive()
Undocumented in source. Be warned that the author may not have intended to support it.
onClose
void onClose()
Undocumented in source. Be warned that the author may not have intended to support it.
onCreate
void onCreate(TCPClient client)
Undocumented in source. Be warned that the author may not have intended to support it.
onFailure
void onFailure()
Undocumented in source. Be warned that the author may not have intended to support it.
onRead
void onRead(ubyte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
onTimeout
void onTimeout()
Undocumented in source. Be warned that the author may not have intended to support it.
runInThread
void runInThread()
Undocumented in source. Be warned that the author may not have intended to support it.
syncConnet
void syncConnet(Address addr)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

th
Thread th;
Undocumented in source.

Inherited Members

From BaseClient

ClientCreatorCallBack
alias ClientCreatorCallBack = void delegate(TCPClient)
Undocumented in source.
LinkInfo
alias LinkInfo = TLinkInfo!ClientCreatorCallBack
Undocumented in source.
~this
~this()
Undocumented in source.
isAlive
bool isAlive()
Undocumented in source. Be warned that the author may not have intended to support it.
setTimeout
void setTimeout(uint s)
Undocumented in source. Be warned that the author may not have intended to support it.
tryCount
tryCount [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
tryCount
uint tryCount [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
connect
void connect(Address addr, ClientCreatorCallBack cback)
Undocumented in source. Be warned that the author may not have intended to support it.
write
void write(const(ubyte)[] data, TCPWriteCallBack cback)
Undocumented in source. Be warned that the author may not have intended to support it.
write
void write(TCPWriteBuffer buffer)
Undocumented in source. Be warned that the author may not have intended to support it.
close
void close()
Undocumented in source. Be warned that the author may not have intended to support it.
tcpClient
tcpClient [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
timer
timer [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
timeout
timeout [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
eventLoop
eventLoop [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
onActive
void onActive()
Undocumented in source.
onFailure
void onFailure()
Undocumented in source.
onClose
void onClose()
Undocumented in source.
onRead
void onRead(ubyte[] data)
Undocumented in source.
onTimeout
void onTimeout()
Undocumented in source.
startTimer
startTimer()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta