- clearWriteQueue
void clearWriteQueue()
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.
- doRead
bool doRead()
Undocumented in source. Be warned that the author may not have intended to support it.
- doWrite
bool doWrite()
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.
- onRead
void onRead()
Undocumented in source. Be warned that the author may not have intended to support it.
- onWrite
void onWrite()
Undocumented in source. Be warned that the author may not have intended to support it.
- setCloseCallBack
void setCloseCallBack(CallBack cback)
Undocumented in source. Be warned that the author may not have intended to support it.
- setKeepAlive
void setKeepAlive(int time, int interval)
Undocumented in source. Be warned that the author may not have intended to support it.
- setReadCallBack
void setReadCallBack(TCPReadCallBack cback)
Undocumented in source. Be warned that the author may not have intended to support it.
- start
bool start()
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.
- getOption
int getOption(SocketOptionLevel level, SocketOption option, void[] result)
- getOption
int getOption(SocketOptionLevel level, SocketOption option, int32_t result)
Common case of getting integer and boolean options.
- getOption
int getOption(SocketOptionLevel level, SocketOption option, Linger result)
- getOption
void getOption(SocketOptionLevel level, SocketOption option, Duration result)
Get a timeout (duration) option.
- setOption
void setOption(SocketOptionLevel level, SocketOption option, void[] value)
- setOption
void setOption(SocketOptionLevel level, SocketOption option, int32_t value)
Common case for setting integer and boolean options.
- setOption
void setOption(SocketOptionLevel level, SocketOption option, Linger value)
- setOption
void setOption(SocketOptionLevel level, SocketOption option, Duration value)
Undocumented in source. Be warned that the author may not have intended to support it.
- remoteAddress
Address remoteAddress [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- localAddress
Address localAddress [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- createAddress
Address createAddress()
Undocumented in source. Be warned that the author may not have intended to support it.