BaseClient

Undocumented in source.

Constructors

this
this(EventLoop loop)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Aliases

ClientCreatorCallBack
alias ClientCreatorCallBack = void delegate(TCPClient)
Undocumented in source.
LinkInfo
alias LinkInfo = TLinkInfo!ClientCreatorCallBack
Undocumented in source.

Functions

close
void close()
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.
isAlive
bool isAlive()
Undocumented in source. Be warned that the author may not have intended to support it.
onActive
void onActive()
Undocumented in source.
onClose
void onClose()
Undocumented in source.
onFailure
void onFailure()
Undocumented in source.
onRead
void onRead(ubyte[] data)
Undocumented in source.
onTimeout
void onTimeout()
Undocumented in source.
setTimeout
void setTimeout(uint s)
Undocumented in source. Be warned that the author may not have intended to support it.
startTimer
startTimer()
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.

Properties

eventLoop
eventLoop [@property getter]
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.
timeout
timeout [@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.
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.

Meta