Example usage for Java java.nio.channels AsynchronousSocketChannel fields, constructors, methods, implement or subclass
The text is from its open source code.
void | close() Closes this channel. |
Future | connect(SocketAddress remote) Connects this channel. |
SocketAddress | getRemoteAddress() Returns the remote address to which this channel's socket is connected. |
boolean | isOpen() Tells whether or not this channel is open. |
AsynchronousSocketChannel | open() Opens an asynchronous socket channel. |
Future | read(ByteBuffer dst) |
void | read(ByteBuffer dst, A attachment, CompletionHandler |
Future | write(ByteBuffer src) |
void | write(ByteBuffer src, A attachment, CompletionHandler |