java.lang.Object
java.nio.channels.spi.AbstractInterruptibleChannel
java.nio.channels.SelectableChannel
java.nio.channels.spi.AbstractSelectableChannel
java.nio.channels.DatagramChannel
- All Implemented Interfaces:
- Closeable, ByteChannel, Channel, GatheringByteChannel, InterruptibleChannel, ReadableByteChannel, ScatteringByteChannel, WritableByteChannel
- See Also:
- Source Code,
isConnected , write , read , connect , receive , send , open , DatagramSocketImpl , socket , DatagramSocket
public abstract DatagramChannel connect(SocketAddress remote)
throws IOException - See Also:
- SecurityException, ClosedByInterruptException, AsynchronousCloseException, ClosedChannelException,
checkConnect , checkAccept , DatagramSocket , connect
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
protected DatagramChannel(SelectorProvider provider) - Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public abstract DatagramChannel disconnect()
throws IOException - Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public abstract boolean isConnected() - Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public static DatagramChannel open()
throws IOException - See Also:
-
SelectorProvider , openDatagramChannel
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public abstract int read(ByteBuffer dst)
throws IOException - See Also:
- ClosedByInterruptException, AsynchronousCloseException, ClosedChannelException, NotYetConnectedException, ReadableByteChannel
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public final long read(ByteBuffer[] dsts)
throws IOException - See Also:
- ClosedByInterruptException, AsynchronousCloseException, ClosedChannelException, NotYetConnectedException, ScatteringByteChannel
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public abstract long read(ByteBuffer[] dsts,
int offset,
int length)
throws IOException - See Also:
- ClosedByInterruptException, AsynchronousCloseException, ClosedChannelException, NotYetConnectedException, ScatteringByteChannel
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public abstract SocketAddress receive(ByteBuffer dst)
throws IOException - See Also:
- SecurityException, ClosedByInterruptException, AsynchronousCloseException, ClosedChannelException,
connect , checkAccept , DatagramSocket , receive , read
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public abstract int send(ByteBuffer src,
SocketAddress target)
throws IOException - See Also:
- SecurityException, ClosedByInterruptException, AsynchronousCloseException, ClosedChannelException,
connect , checkConnect , DatagramSocket , send , write
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public abstract DatagramSocket socket() - Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public final int validOps() - See Also:
- SelectableChannel,
SelectionKey.OP_WRITE , SelectionKey.OP_READ
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public abstract int write(ByteBuffer src)
throws IOException - See Also:
- ClosedByInterruptException, AsynchronousCloseException, ClosedChannelException, NotYetConnectedException, WritableByteChannel
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public final long write(ByteBuffer[] srcs)
throws IOException - See Also:
- ClosedByInterruptException, AsynchronousCloseException, ClosedChannelException, NotYetConnectedException, GatheringByteChannel
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public abstract long write(ByteBuffer[] srcs,
int offset,
int length)
throws IOException - See Also:
- ClosedByInterruptException, AsynchronousCloseException, ClosedChannelException, NotYetConnectedException, GatheringByteChannel
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
| Popular Tags
|