@Deprecated public class RxtxChannel extends OioByteStreamChannel
AbstractChannel.AbstractUnsafeChannel.UnsafeSO_TIMEOUT| 构造器和说明 |
|---|
RxtxChannel()
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
RxtxChannelConfig |
config()
已过时。
Returns the configuration of this channel.
|
protected void |
doBind(java.net.SocketAddress localAddress)
已过时。
Bind the
Channel to the SocketAddress |
protected void |
doClose()
已过时。
Close the
Channel |
protected void |
doConnect(java.net.SocketAddress remoteAddress,
java.net.SocketAddress localAddress)
已过时。
Connect to the remote peer using the given localAddress if one is specified or
null otherwise. |
protected void |
doDisconnect()
已过时。
Disconnect this
Channel from its remote peer |
protected void |
doInit()
已过时。
|
protected boolean |
isInputShutdown()
已过时。
Determine if the input side of this channel is shutdown.
|
boolean |
isOpen()
已过时。
Returns
true if the Channel is open and may get active later |
RxtxDeviceAddress |
localAddress()
已过时。
Returns the local address where this channel is bound to.
|
protected RxtxDeviceAddress |
localAddress0()
已过时。
Returns the
SocketAddress which is bound locally. |
protected AbstractChannel.AbstractUnsafe |
newUnsafe()
已过时。
Create a new
AbstractChannel.AbstractUnsafe instance which will be used for the life-time of the Channel |
RxtxDeviceAddress |
remoteAddress()
已过时。
Returns the remote address where this channel is connected to.
|
protected RxtxDeviceAddress |
remoteAddress0()
已过时。
Return the
SocketAddress which the Channel is connected to. |
protected ChannelFuture |
shutdownInput()
已过时。
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, hasAttrattr, 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 在类中 AbstractOioChannelprotected void doConnect(java.net.SocketAddress remoteAddress,
java.net.SocketAddress localAddress)
throws java.lang.Exception
AbstractOioChannelnull otherwise.doConnect 在类中 AbstractOioChanneljava.lang.Exceptionprotected void doInit()
throws java.lang.Exception
java.lang.Exceptionpublic RxtxDeviceAddress localAddress()
ChannelSocketAddress is supposed to be down-cast into more concrete
type such as InetSocketAddress to retrieve the detailed
information.localAddress 在接口中 ChannellocalAddress 在类中 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 在接口中 ChannelremoteAddress 在类中 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 在类中 AbstractChannelprotected RxtxDeviceAddress remoteAddress0()
AbstractChannelSocketAddress which the Channel is connected to.remoteAddress0 在类中 AbstractChannelprotected void doBind(java.net.SocketAddress localAddress)
throws java.lang.Exception
AbstractChannelChannel to the SocketAddressdoBind 在类中 AbstractChanneljava.lang.Exceptionprotected void doDisconnect()
throws java.lang.Exception
AbstractChannelChannel from its remote peerdoDisconnect 在类中 AbstractChanneljava.lang.Exceptionprotected void doClose()
throws java.lang.Exception
AbstractChannelChanneldoClose 在类中 OioByteStreamChanneljava.lang.Exceptionprotected boolean isInputShutdown()
AbstractOioByteChannelisInputShutdown 在类中 AbstractOioByteChanneltrue if the input side of this channel is shutdown.protected ChannelFuture shutdownInput()
AbstractOioByteChannelshutdownInput 在类中 AbstractOioByteChannel