public interface DomainSocketChannel extends UnixChannel, DuplexChannel
UnixChannel
that supports communication via
Unix Domain Socket.Channel.Unsafe
Modifier and Type | Method and Description |
---|---|
DomainSocketChannelConfig |
config()
Returns the configuration of this channel.
|
DomainSocketAddress |
localAddress()
Returns the local address where this channel is bound to.
|
DomainSocketAddress |
remoteAddress()
Returns the remote address where this channel is connected to.
|
fd
isInputShutdown, isOutputShutdown, shutdownOutput, shutdownOutput
alloc, bind, bind, close, close, closeFuture, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, eventLoop, flush, isActive, isOpen, isRegistered, isWritable, metadata, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, parent, pipeline, read, unsafe, voidPromise, write, write, writeAndFlush, writeAndFlush
attr
DomainSocketAddress remoteAddress()
Channel
SocketAddress
is supposed to be down-cast into more
concrete type such as InetSocketAddress
to retrieve the detailed
information.remoteAddress
in interface Channel
null
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
.DomainSocketAddress localAddress()
Channel
SocketAddress
is supposed to be down-cast into more concrete
type such as InetSocketAddress
to retrieve the detailed
information.localAddress
in interface Channel
null
if this channel is not bound.DomainSocketChannelConfig config()
Channel
Copyright © 2008–2018 The Netty Project. All rights reserved.