- connect
void connect(string ip, ushort port)
Undocumented in source. Be warned that the author may not have intended to support it.
- connect
void connect(Address addr)
Undocumented in source. Be warned that the author may not have intended to support it.
- isConnected
bool isConnected()
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.
- onClosed
TcpStream onClosed(SimpleEventHandler handler)
Undocumented in source. Be warned that the author may not have intended to support it.
- onConnected
TcpStream onConnected(ConnectionHandler cback)
Undocumented in source. Be warned that the author may not have intended to support it.
- onDataReceived
TcpStream onDataReceived(DataReceivedHandler handler)
Undocumented in source. Be warned that the author may not have intended to support it.
- onDisconnected
TcpStream onDisconnected(SimpleEventHandler handler)
Undocumented in source. Be warned that the author may not have intended to support it.
- onError
TcpStream onError(ErrorEventHandler handler)
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.
- reconnect
void reconnect(Address addr)
Undocumented in source. Be warned that the author may not have intended to support it.
- start
void start()
Undocumented in source. Be warned that the author may not have intended to support it.
- write
void write(StreamWriteBuffer buffer)
Undocumented in source. Be warned that the author may not have intended to support it.
- write
void write(ubyte[] data, DataWrittenHandler handler)
safe for big data sending