@Deprecated public class RxtxChannel extends OioByteStreamChannel
AbstractChannel.AbstractUnsafeChannel.UnsafeSO_TIMEOUT| Constructor and Description |
|---|
RxtxChannel()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
RxtxChannelConfig |
config()
Deprecated.
Returns the configuration of this channel.
|
protected void |
doBind(SocketAddress localAddress)
Deprecated.
Bind the
Channel to the SocketAddress |
protected void |
doClose()
Deprecated.
Close the
Channel |
protected void |
doConnect(SocketAddress remoteAddress,
SocketAddress localAddress)
Deprecated.
Connect to the remote peer using the given localAddress if one is specified or
null otherwise. |
protected void |
doDisconnect()
Deprecated.
Disconnect this
Channel from its remote peer |
protected void |
doInit()
Deprecated.
|
protected boolean |
isInputShutdown()
Deprecated.
Determine if the input side of this channel is shutdown.
|
boolean |
isOpen()
Deprecated.
Returns
true if the Channel is open and may get active later |
RxtxDeviceAddress |
localAddress()
Deprecated.
Returns the local address where this channel is bound to.
|
protected RxtxDeviceAddress |
localAddress0()
Deprecated.
Returns the
SocketAddress which is bound locally. |
protected AbstractChannel.AbstractUnsafe |
newUnsafe()
Deprecated.
Create a new
AbstractChannel.AbstractUnsafe instance which will be used for the life-time of the Channel |
RxtxDeviceAddress |
remoteAddress()
Deprecated.
Returns the remote address where this channel is connected to.
|
protected RxtxDeviceAddress |
remoteAddress0()
Deprecated.
Return the
SocketAddress which the Channel is connected to. |
protected ChannelFuture |
shutdownInput()
Deprecated.
Shutdown the input side of this channel.
|
activate, available, doReadBytes, doWriteBytes, doWriteFileRegion, isActivedoRead, doWrite, filterOutboundMessage, metadataclearReadPending, doBeginRead, isCompatible, isReadPending, setReadPendingalloc, bind, bind, bytesBeforeUnwritable, bytesBeforeWritable, close, close, closeFuture, compareTo, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, doDeregister, doRegister, doShutdownOutput, equals, eventLoop, flush, hashCode, id, invalidateLocalAddress, invalidateRemoteAddress, isRegistered, isWritable, maxMessagesPerWrite, newChannelPipeline, newFailedFuture, newId, newProgressivePromise, newPromise, newSucceededFuture, parent, pipeline, read, toString, unsafe, validateFileRegion, voidPromise, write, write, writeAndFlush, writeAndFlushattr, hasAttrclone, finalize, getClass, notify, notifyAll, wait, wait, waitattr, hasAttrpublic RxtxChannelConfig config()
Channelpublic boolean isOpen()
Channeltrue if the Channel is open and may get active laterprotected AbstractChannel.AbstractUnsafe newUnsafe()
AbstractChannelAbstractChannel.AbstractUnsafe instance which will be used for the life-time of the ChannelnewUnsafe in class AbstractOioChannelprotected void doConnect(SocketAddress remoteAddress, SocketAddress localAddress) throws Exception
AbstractOioChannelnull otherwise.doConnect in class AbstractOioChannelExceptionpublic RxtxDeviceAddress localAddress()
ChannelSocketAddress is supposed to be down-cast into more concrete
type such as InetSocketAddress to retrieve the detailed
information.localAddress in interface ChannellocalAddress in class AbstractChannelnull if this channel is not bound.public RxtxDeviceAddress remoteAddress()
ChannelSocketAddress is supposed to be down-cast into more
concrete type such as InetSocketAddress to retrieve the detailed
information.remoteAddress in interface ChannelremoteAddress in class AbstractChannelnull 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.protected RxtxDeviceAddress localAddress0()
AbstractChannelSocketAddress which is bound locally.localAddress0 in class AbstractChannelprotected RxtxDeviceAddress remoteAddress0()
AbstractChannelSocketAddress which the Channel is connected to.remoteAddress0 in class AbstractChannelprotected void doBind(SocketAddress localAddress) throws Exception
AbstractChannelChannel to the SocketAddressdoBind in class AbstractChannelExceptionprotected void doDisconnect()
throws Exception
AbstractChannelChannel from its remote peerdoDisconnect in class AbstractChannelExceptionprotected void doClose()
throws Exception
AbstractChannelChanneldoClose in class OioByteStreamChannelExceptionprotected boolean isInputShutdown()
AbstractOioByteChannelisInputShutdown in class AbstractOioByteChanneltrue if the input side of this channel is shutdown.protected ChannelFuture shutdownInput()
AbstractOioByteChannelshutdownInput in class AbstractOioByteChannelCopyright © 2008–2025 The Netty Project. All rights reserved.