NetClientSocket

Undocumented in source.

Constructors

this
this(ServerBootstrap boot)
Undocumented in source.
this
this(ServerBootstrap boot, AsynchronousSocketChannel channel)
Undocumented in source.

Members

Functions

close
NetSocket close()
Undocumented in source. Be warned that the author may not have intended to support it.
connect
NetClientSocket connect(string ip, int port)
Undocumented in source. Be warned that the author may not have intended to support it.
doRead
void doRead()
Undocumented in source. Be warned that the author may not have intended to support it.
handler
NetSocket handler(buffer_handler readHandler)
Undocumented in source. Be warned that the author may not have intended to support it.
setConnectHandler
NetClientSocket setConnectHandler(connet_handler handler)
Undocumented in source. Be warned that the author may not have intended to support it.
write
NetSocket write(ByteBuffer data)
Undocumented in source. Be warned that the author may not have intended to support it.
write
NetSocket write(string data)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

READ_BUFFER_LEN
int READ_BUFFER_LEN;
Undocumented in source.
_readBuffer
ByteBuffer _readBuffer;
Undocumented in source.

Inherited Members

From NetSocket

handler
NetSocket handler(buffer_handler readHandler)
Undocumented in source.
write
NetSocket write(ByteBuffer data)
Undocumented in source.
write
NetSocket write(string data)
Undocumented in source.
close
NetSocket close()
Undocumented in source.
_ip
string _ip;
Undocumented in source.
_port
int _port;
Undocumented in source.
_readHandler
buffer_handler _readHandler;
Undocumented in source.
_connectHandler
connet_handler _connectHandler;
Undocumented in source.
_boot
ServerBootstrap _boot;
Undocumented in source.

Meta