Uses of Class
java.nio.channels.DatagramChannel
| Package | Description |
|---|---|
| java.net | |
| java.nio | |
| java.nio.channels | |
| java.nio.channels.spi |
-
Uses of DatagramChannel in java.net
Methods in java.net that return DatagramChannel Modifier and Type Method Description DatagramChannelDatagramSocket. getChannel()Returns this socket'sDatagramChannel, if one exists. -
Uses of DatagramChannel in java.nio
Methods in java.nio that return DatagramChannel Modifier and Type Method Description DatagramChannelSelectorProviderImpl. openDatagramChannel() -
Uses of DatagramChannel in java.nio.channels
Methods in java.nio.channels that return DatagramChannel Modifier and Type Method Description abstract DatagramChannelDatagramChannel. connect(SocketAddress address)Connects the socket of this channel to a remote address, which is the only communication peer for getting and sending datagrams after being connected.abstract DatagramChannelDatagramChannel. disconnect()Disconnects the socket of this channel, which has been connected before in order to send and receive datagrams.static DatagramChannelDatagramChannel. open()Creates an opened and not-connected datagram channel. -
Uses of DatagramChannel in java.nio.channels.spi
Methods in java.nio.channels.spi that return DatagramChannel Modifier and Type Method Description abstract DatagramChannelSelectorProvider. openDatagramChannel()Creates a new openDatagramChannel.