TcpStream

Constructors

this
this(Selector loop, TcpStreamOptions option, AddressFamily family)
Undocumented in source.
this
this(Selector loop, Socket socket, TcpStreamOptions option)
Undocumented in source.

Members

Aliases

onWritten
alias onWritten = writed
Undocumented in source.

Functions

closed
TcpStream closed(SimpleEventHandler handler)
Undocumented in source. Be warned that the author may not have intended to support it.
connect
void connect(string hostname, 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.
connected
TcpStream connected(ConnectionHandler handler)
Undocumented in source. Be warned that the author may not have intended to support it.
disconnected
TcpStream disconnected(SimpleEventHandler handler)
Undocumented in source. Be warned that the author may not have intended to support it.
doConnect
bool doConnect(Address addr)
Undocumented in source. Be warned that the author may not have intended to support it.
error
TcpStream error(ErrorEventHandler handler)
Undocumented in source. Be warned that the author may not have intended to support it.
isBusy
bool isBusy()
Undocumented in source. Be warned that the author may not have intended to support it.
isClient
bool isClient()
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.
onDisconnected
void onDisconnected()
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.
options
void options(TcpStreamOptions option)
Undocumented in source. Be warned that the author may not have intended to support it.
options
TcpStreamOptions options()
Undocumented in source. Be warned that the author may not have intended to support it.
received
TcpStream received(DataReceivedHandler handler)
Undocumented in source. Be warned that the author may not have intended to support it.
reconnect
void reconnect()
Undocumented in source. Be warned that the author may not have intended to support it.
shutdownInput
void shutdownInput()
Undocumented in source. Be warned that the author may not have intended to support it.
shutdownOutput
void shutdownOutput()
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(ByteBuffer buffer)
Undocumented in source. Be warned that the author may not have intended to support it.
write
void write(const(ubyte)[] data)
writed
TcpStream writed(SimpleActionHandler handler)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_connectionHandler
ConnectionHandler _connectionHandler;
Undocumented in source.
_isClient
bool _isClient;
Undocumented in source.
_isConnected
bool _isConnected;
Undocumented in source.
closeHandler
SimpleEventHandler closeHandler;
Undocumented in source.

Meta