Java java.nio.channels AsynchronousSocketChannel fields, constructors, methods, implement or subclass

Example usage for Java java.nio.channels AsynchronousSocketChannel fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.nio.channels AsynchronousSocketChannel.

The text is from its open source code.

Method

voidclose()
Closes this channel.
Futureconnect(SocketAddress remote)
Connects this channel.
SocketAddressgetRemoteAddress()
Returns the remote address to which this channel's socket is connected.
booleanisOpen()
Tells whether or not this channel is open.
AsynchronousSocketChannelopen()
Opens an asynchronous socket channel.
Futureread(ByteBuffer dst)
voidread(ByteBuffer dst, A attachment, CompletionHandler handler)
Futurewrite(ByteBuffer src)
voidwrite(ByteBuffer src, A attachment, CompletionHandler handler)