public interface DomainDatagramChannel extends UnixChannel, Channel
UnixChannel that supports communication via
UNIX domain datagram sockets.Channel.Unsafe| Modifier and Type | Method and Description |
|---|---|
DomainDatagramChannelConfig |
config()
Returns the configuration of this channel.
|
boolean |
isConnected()
Return
true if the DomainDatagramChannel is connected to the remote peer. |
DomainSocketAddress |
localAddress()
Returns the local address where this channel is bound to.
|
DomainSocketAddress |
remoteAddress()
Returns the remote address where this channel is connected to.
|
fdalloc, bytesBeforeUnwritable, bytesBeforeWritable, closeFuture, eventLoop, flush, id, isActive, isOpen, isRegistered, isWritable, metadata, parent, pipeline, read, unsafeattr, hasAttrbind, bind, close, close, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, voidPromise, write, write, writeAndFlush, writeAndFlushcompareToDomainDatagramChannelConfig config()
Channelboolean isConnected()
true if the DomainDatagramChannel is connected to the remote peer.DomainSocketAddress localAddress()
ChannelSocketAddress is supposed to be down-cast into more concrete
type such as InetSocketAddress to retrieve the detailed
information.localAddress in interface Channelnull if this channel is not bound.DomainSocketAddress remoteAddress()
ChannelSocketAddress is supposed to be down-cast into more
concrete type such as InetSocketAddress to retrieve the detailed
information.remoteAddress in interface Channelnull if this channel is not connected.
If this channel is not connected but it can receive messages
from arbitrary remote addresses (e.g. DatagramChannel,
use DefaultAddressedEnvelope.recipient() to determine
the origination of the received message as this method will
return null.Copyright © 2008–2025 The Netty Project. All rights reserved.