Example usage for Java io.netty.channel.socket.nio NioDatagramChannel fields, constructors, methods, implement or subclass
The text is from its open source code.
DatagramChannelConfig | config |
NioDatagramChannel(SelectorProvider provider) Create a new instance using the given SelectorProvider which will use the Operation Systems default InternetProtocolFamily . | |
NioDatagramChannel(InternetProtocolFamily ipFamily) Create a new instance using the given InternetProtocolFamily . | |
NioDatagramChannel(DatagramChannel socket) Create a new instance from the given DatagramChannel . | |
NioDatagramChannel() Create a new instance which will use the Operation Systems default InternetProtocolFamily . |
ChannelFuture | closeFuture() |
ChannelFuture | connect(SocketAddress remoteAddress) |
ChannelFuture | joinGroup(InetAddress multicastAddress, ChannelPromise promise) |
ChannelFuture | joinGroup(InetSocketAddress multicastAddress, NetworkInterface networkInterface) |
ChannelFuture | leaveGroup(InetAddress multicastAddress, ChannelPromise promise) |
ChannelFuture | leaveGroup(InetSocketAddress multicastAddress, NetworkInterface networkInterface) |
InetSocketAddress | localAddress() |
ChannelPipeline | pipeline() |
InetSocketAddress | remoteAddress() |
ChannelFuture | writeAndFlush(Object msg) |