| Modifier and Type | Class and Description |
|---|---|
| pack-priv class |
| Modifier and Type | Field and Description |
|---|---|
| private final KQueueDatagramChannelConfig | |
| private volatile boolean | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public ChannelFuture | block(InetAddress multicastAddress, NetworkInterface networkInterface, InetAddress sourceToBlock)
Implements io. ChannelFuture once the operation completes.
|
| public ChannelFuture | block(final InetAddress multicastAddress, final NetworkInterface networkInterface, final InetAddress sourceToBlock, final ChannelPromise promise)
Implements io. ChannelFuture once the operation completes.
|
| public ChannelFuture | block(InetAddress multicastAddress, InetAddress sourceToBlock)
Implements io. ChannelFuture once
the operation completes.
|
| public ChannelFuture | block(InetAddress multicastAddress, InetAddress sourceToBlock, ChannelPromise promise)
Implements io. ChannelFuture once
the operation completes.
|
| private static void | |
| public KQueueDatagramChannelConfig | config()
Implements abstract io. Implements io. |
| protected void | doBind(SocketAddress localAddress)
Overrides io. Channel to the SocketAddress
|
| protected void | |
| protected boolean | doConnect(SocketAddress remoteAddress, SocketAddress localAddress)
Overrides io. |
| protected void | doDisconnect()
Overrides io. Channel from its remote peer
|
| protected boolean | doWriteMessage(Object msg)
Implements abstract io. |
| protected Object | filterOutboundMessage(Object msg)
Overrides io. ChannelOutboundBuffer of this AbstractChannel, so that
the Channel implementation converts the message to another.
|
| public boolean | isActive()
Overrides io. Implements io. true if the Channel is active and so connected.
|
| public boolean | isConnected()
Implements io. true if the DatagramChannel is connected to the remote peer.
|
| public ChannelFuture | joinGroup(InetAddress multicastAddress)
Implements io. ChannelFuture once the operation completes.
|
| public ChannelFuture | joinGroup(InetAddress multicastAddress, ChannelPromise promise)
Implements io. ChannelFuture once the operation completes.
|
| public ChannelFuture | joinGroup(InetSocketAddress multicastAddress, NetworkInterface networkInterface)
Implements io. ChannelFuture
once the operation completes.
|
| public ChannelFuture | joinGroup(InetSocketAddress multicastAddress, NetworkInterface networkInterface, ChannelPromise promise)
Implements io. ChannelFuture
once the operation completes.
|
| public ChannelFuture | joinGroup(InetAddress multicastAddress, NetworkInterface networkInterface, InetAddress source)
Implements io. ChannelFuture
once the operation completes.
|
| public ChannelFuture | joinGroup(final InetAddress multicastAddress, final NetworkInterface networkInterface, final InetAddress source, final ChannelPromise promise)
Implements io. ChannelFuture
once the operation completes.
|
| public ChannelFuture | leaveGroup(InetAddress multicastAddress)
Implements io. ChannelFuture once the operation completes.
|
| public ChannelFuture | leaveGroup(InetAddress multicastAddress, ChannelPromise promise)
Implements io. ChannelFuture once the operation completes.
|
| public ChannelFuture | leaveGroup(InetSocketAddress multicastAddress, NetworkInterface networkInterface)
Implements io. ChannelFuture once the
operation completes.
|
| public ChannelFuture | leaveGroup(InetSocketAddress multicastAddress, NetworkInterface networkInterface, ChannelPromise promise)
Implements io. ChannelFuture once the
operation completes.
|
| public ChannelFuture | leaveGroup(InetAddress multicastAddress, NetworkInterface networkInterface, InetAddress source)
Implements io. ChannelFuture once the operation completes.
|
| public ChannelFuture | leaveGroup(final InetAddress multicastAddress, final NetworkInterface networkInterface, final InetAddress source, final ChannelPromise promise)
Implements io. ChannelFuture once the operation completes.
|
| public InetSocketAddress | localAddress()
Overrides io. Implements io. |
| protected AbstractKQueueChannel. | newUnsafe()
Implements abstract io. AbstractUnsafe instance which will be used for the life-time of the Channel
|
| public InetSocketAddress | remoteAddress()
Overrides io. Implements io. |
| config | back to summary |
|---|---|
| private final KQueueDatagramChannelConfig config | |
| connected | back to summary |
|---|---|
| private volatile boolean connected | |
| EXPECTED_TYPES | back to summary |
|---|---|
| private static final String EXPECTED_TYPES | |
| KQueueDatagramChannel | back to summary |
|---|---|
| public KQueueDatagramChannel() | |
| KQueueDatagramChannel | back to summary |
|---|---|
| public KQueueDatagramChannel(InternetProtocolFamily protocol) | |
| KQueueDatagramChannel | back to summary |
|---|---|
| public KQueueDatagramChannel(int fd) | |
| KQueueDatagramChannel | back to summary |
|---|---|
| pack-priv KQueueDatagramChannel(BsdSocket socket, boolean active) | |
| block | back to summary |
|---|---|
| public ChannelFuture block(InetAddress multicastAddress, NetworkInterface networkInterface, InetAddress sourceToBlock) Implements io. Doc from io. Block the given sourceToBlock address for the given multicastAddress on the given networkInterface and notifies
the
| |
| block | back to summary |
|---|---|
| public ChannelFuture block(final InetAddress multicastAddress, final NetworkInterface networkInterface, final InetAddress sourceToBlock, final ChannelPromise promise) Implements io. Doc from io. Block the given sourceToBlock address for the given multicastAddress on the given networkInterface and notifies
the
| |
| block | back to summary |
|---|---|
| public ChannelFuture block(InetAddress multicastAddress, InetAddress sourceToBlock) Implements io. Doc from io. Block the given sourceToBlock address for the given multicastAddress and notifies the
| |
| block | back to summary |
|---|---|
| public ChannelFuture block(InetAddress multicastAddress, InetAddress sourceToBlock, ChannelPromise promise) Implements io. Doc from io. Block the given sourceToBlock address for the given multicastAddress and notifies the
| |
| checkUnresolved | back to summary |
|---|---|
| private static void checkUnresolved(AddressedEnvelope<?, ?> envelope) | |
| config | back to summary |
|---|---|
| public KQueueDatagramChannelConfig config() Implements abstract io. Implements io. Doc from io. Returns the configuration of this channel.
| |
| doBind | back to summary |
|---|---|
| protected void doBind(SocketAddress localAddress) throws Exception Overrides io. Doc from io. Bind the
| |
| doClose | back to summary |
|---|---|
| protected void doClose() throws Exception Overrides io. Doc from io. Close the
| |
| doConnect | back to summary |
|---|---|
| protected boolean doConnect(SocketAddress remoteAddress, SocketAddress localAddress) throws Exception Overrides io. Doc from io. Connect to the remote peer
| |
| doDisconnect | back to summary |
|---|---|
| protected void doDisconnect() throws Exception Overrides io. Doc from io. Disconnect this
| |
| doWriteMessage | back to summary |
|---|---|
| protected boolean doWriteMessage(Object msg) throws Exception Implements abstract io.
| |
| filterOutboundMessage | back to summary |
|---|---|
| protected Object filterOutboundMessage(Object msg) Overrides io. Doc from io. Invoked when a new message is added to a
| |
| isActive | back to summary |
|---|---|
| public boolean isActive() Overrides io. Implements io. Doc from io. Return
| |
| isConnected | back to summary |
|---|---|
| public boolean isConnected() Implements io. Doc from io. Return
| |
| joinGroup | back to summary |
|---|---|
| public ChannelFuture joinGroup(InetAddress multicastAddress) Implements io. Doc from io. Joins a multicast group and notifies the
| |
| joinGroup | back to summary |
|---|---|
| public ChannelFuture joinGroup(InetAddress multicastAddress, ChannelPromise promise) Implements io. Doc from io. Joins a multicast group and notifies the
| |
| joinGroup | back to summary |
|---|---|
| public ChannelFuture joinGroup(InetSocketAddress multicastAddress, NetworkInterface networkInterface) Implements io. Doc from io. Joins the specified multicast group at the specified interface and notifies the
| |
| joinGroup | back to summary |
|---|---|
| public ChannelFuture joinGroup(InetSocketAddress multicastAddress, NetworkInterface networkInterface, ChannelPromise promise) Implements io. Doc from io. Joins the specified multicast group at the specified interface and notifies the
| |
| joinGroup | back to summary |
|---|---|
| public ChannelFuture joinGroup(InetAddress multicastAddress, NetworkInterface networkInterface, InetAddress source) Implements io. Doc from io. Joins the specified multicast group at the specified interface and notifies the
| |
| joinGroup | back to summary |
|---|---|
| public ChannelFuture joinGroup(final InetAddress multicastAddress, final NetworkInterface networkInterface, final InetAddress source, final ChannelPromise promise) Implements io. Doc from io. Joins the specified multicast group at the specified interface and notifies the
| |
| leaveGroup | back to summary |
|---|---|
| public ChannelFuture leaveGroup(InetAddress multicastAddress) Implements io. Doc from io. Leaves a multicast group and notifies the
| |
| leaveGroup | back to summary |
|---|---|
| public ChannelFuture leaveGroup(InetAddress multicastAddress, ChannelPromise promise) Implements io. Doc from io. Leaves a multicast group and notifies the
| |
| leaveGroup | back to summary |
|---|---|
| public ChannelFuture leaveGroup(InetSocketAddress multicastAddress, NetworkInterface networkInterface) Implements io. Doc from io. Leaves a multicast group on a specified local interface and notifies the
| |
| leaveGroup | back to summary |
|---|---|
| public ChannelFuture leaveGroup(InetSocketAddress multicastAddress, NetworkInterface networkInterface, ChannelPromise promise) Implements io. Doc from io. Leaves a multicast group on a specified local interface and notifies the
| |
| leaveGroup | back to summary |
|---|---|
| public ChannelFuture leaveGroup(InetAddress multicastAddress, NetworkInterface networkInterface, InetAddress source) Implements io. Doc from io. Leave the specified multicast group at the specified interface using the specified source and notifies
the
| |
| leaveGroup | back to summary |
|---|---|
| public ChannelFuture leaveGroup(final InetAddress multicastAddress, final NetworkInterface networkInterface, final InetAddress source, final ChannelPromise promise) Implements io. Doc from io. Leave the specified multicast group at the specified interface using the specified source and notifies
the
| |
| localAddress | back to summary |
|---|---|
| public InetSocketAddress localAddress() Overrides io. Implements io. Doc from io. Returns the local address where this channel is bound to. The returned
| |
| newUnsafe | back to summary |
|---|---|
| protected AbstractKQueueChannel. Implements abstract io. Doc from io. Create a new
| |
| remoteAddress | back to summary |
|---|---|
| public InetSocketAddress remoteAddress() Overrides io. Implements io. Doc from io. Returns the remote address where this channel is connected to. The
returned
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | readReady(KQueueRecvByteAllocatorHandle allocHandle)
Implements abstract io.
Deprecated
as a consequence of
KQueueRecvByteAllocatorHandle being deprecated.
|
| KQueueDatagramChannelUnsafe | back to summary |
|---|---|
| pack-priv KQueueDatagramChannelUnsafe() | |
| readReady | back to summary |
|---|---|
| pack-priv void readReady(KQueueRecvByteAllocatorHandle allocHandle) Implements abstract io. Deprecated as a consequence of
| |