Java.Nio.Channels.SocketChannel: Method Members

The methods of Java.Nio.Channels.SocketChannel are listed below. For a list of all members, see the SocketChannel Members list.

See Also: Inherited members from Java.Nio.Channels.Spi.AbstractSelectableChannel

Public Methods

abstract
Bind(Java.Net.SocketAddress) : SocketChannel
Documentation for this section has not yet been entered.
abstract
Connect(Java.Net.SocketAddress) : bool
Connects this channel's socket with a remote address.
ConnectAsync(Java.Net.SocketAddress) : System.Threading.Tasks.Task<bool>
Documentation for this section has not yet been entered.
abstract
FinishConnect() : bool
Completes the connection process initiated by a call of connect(SocketAddress).
FinishConnectAsync() : System.Threading.Tasks.Task<bool>
Documentation for this section has not yet been entered.
static
Open() : SocketChannel
Creates an open and unconnected socket channel.
static
Open(Java.Net.SocketAddress) : SocketChannel
Creates a socket channel and connects it to a socket address.
abstract
Read(Java.Nio.ByteBuffer) : int
Reads bytes from this socket channel into the given buffer.
Read(Java.Nio.ByteBuffer[]) : long
Reads bytes from this socket channel and stores them in the specified array of buffers.
abstract
Read(Java.Nio.ByteBuffer[], int, int) : long
Reads bytes from this socket channel into a subset of the given buffers.
abstract
ShutdownInput() : SocketChannel
Documentation for this section has not yet been entered.
abstract
ShutdownOutput() : SocketChannel
Documentation for this section has not yet been entered.
abstract
Socket() : Java.Net.Socket
Returns the socket assigned to this channel, which does not declare any public methods that are not declared in Socket.
override
ValidOps() : Operations
Gets the valid operations of this channel.
abstract
Write(Java.Nio.ByteBuffer) : int
Writes bytes from the given byte buffer to this socket channel.
Write(Java.Nio.ByteBuffer[]) : long
Writes bytes from all the given byte buffers to this socket channel.
abstract
Write(Java.Nio.ByteBuffer[], int, int) : long
Attempts to write a subset of the given bytes from the buffers to this socket channel.