Package io.netty.channel.udt
Interface UdtChannel
-
- All Superinterfaces:
AttributeMap
,Channel
,ChannelOutboundInvoker
,java.lang.Comparable<Channel>
- All Known Subinterfaces:
UdtServerChannel
- All Known Implementing Classes:
NioUdtAcceptorChannel
,NioUdtByteAcceptorChannel
,NioUdtByteConnectorChannel
,NioUdtByteRendezvousChannel
,NioUdtMessageAcceptorChannel
,NioUdtMessageConnectorChannel
,NioUdtMessageRendezvousChannel
@Deprecated public interface UdtChannel extends Channel
Deprecated.The UDT transport is no longer maintained and will be removed.UDTChannel
.Supported UDT
UdtChannel
are available viaNioUdtProvider
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.netty.channel.Channel
Channel.Unsafe
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description UdtChannelConfig
config()
Deprecated.Returns theUdtChannelConfig
of the channel.java.net.InetSocketAddress
localAddress()
Deprecated.Returns the local address where this channel is bound to.java.net.InetSocketAddress
remoteAddress()
Deprecated.Returns the remote address where this channel is connected to.-
Methods inherited from interface io.netty.util.AttributeMap
attr, hasAttr
-
Methods inherited from interface io.netty.channel.Channel
alloc, bind, bind, bytesBeforeUnwritable, bytesBeforeWritable, close, close, closeFuture, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, eventLoop, flush, getOption, id, isActive, isOpen, isRegistered, isWritable, metadata, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, parent, pipeline, read, setOption, unsafe, voidPromise, write, write, writeAndFlush, writeAndFlush
-
-
-
-
Method Detail
-
config
UdtChannelConfig config()
Deprecated.Returns theUdtChannelConfig
of the channel.
-
localAddress
java.net.InetSocketAddress localAddress()
Deprecated.Description copied from interface:Channel
Returns the local address where this channel is bound to. The returnedSocketAddress
is supposed to be down-cast into more concrete type such asInetSocketAddress
to retrieve the detailed information.- Specified by:
localAddress
in interfaceChannel
- Returns:
- the local address of this channel.
null
if this channel is not bound.
-
remoteAddress
java.net.InetSocketAddress remoteAddress()
Deprecated.Description copied from interface:Channel
Returns the remote address where this channel is connected to. The returnedSocketAddress
is supposed to be down-cast into more concrete type such asInetSocketAddress
to retrieve the detailed information.- Specified by:
remoteAddress
in interfaceChannel
- Returns:
- the remote address of this 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
, useDefaultAddressedEnvelope.recipient()
to determine the origination of the received message as this method will returnnull
.
-
-