public abstract class AbstractServerChannel extends AbstractChannel implements ServerChannel
Channel implementation.  A server-side
 Channel does not allow the following operations:
 AbstractChannel.connect(SocketAddress, ChannelPromise)AbstractChannel.disconnect(ChannelPromise)AbstractChannel.write(Object, ChannelPromise)AbstractChannel.flush()AbstractChannel.AbstractUnsafeChannel.Unsafe| 限定符 | 构造器和说明 | 
|---|---|
| protected  | AbstractServerChannel()Creates a new instance. | 
| 限定符和类型 | 方法和说明 | 
|---|---|
| protected void | doDisconnect()Disconnect this  Channelfrom its remote peer | 
| protected void | doWrite(ChannelOutboundBuffer in)Flush the content of the given buffer to the remote peer. | 
| protected java.lang.Object | filterOutboundMessage(java.lang.Object msg)Invoked when a new message is added to a  ChannelOutboundBufferof thisAbstractChannel, so that
 theChannelimplementation converts the message to another. | 
| ChannelMetadata | metadata() | 
| protected AbstractChannel.AbstractUnsafe | newUnsafe()Create a new  AbstractChannel.AbstractUnsafeinstance which will be used for the life-time of theChannel | 
| java.net.SocketAddress | remoteAddress()Returns the remote address where this channel is connected to. | 
| protected java.net.SocketAddress | remoteAddress0()Return the  SocketAddresswhich theChannelis connected to. | 
alloc, bind, bind, bytesBeforeUnwritable, bytesBeforeWritable, close, close, closeFuture, compareTo, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, doBeginRead, doBind, doClose, doDeregister, doRegister, doShutdownOutput, equals, eventLoop, flush, hashCode, id, invalidateLocalAddress, invalidateRemoteAddress, isCompatible, isRegistered, isWritable, localAddress, localAddress0, maxMessagesPerWrite, newChannelPipeline, newFailedFuture, newId, newProgressivePromise, newPromise, newSucceededFuture, parent, pipeline, read, toString, unsafe, validateFileRegion, voidPromise, write, write, writeAndFlush, writeAndFlushattr, hasAttralloc, bytesBeforeUnwritable, bytesBeforeWritable, closeFuture, config, eventLoop, flush, id, isActive, isOpen, isRegistered, isWritable, localAddress, parent, pipeline, read, unsafeattr, hasAttrbind, bind, close, close, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, voidPromise, write, write, writeAndFlush, writeAndFlushpublic ChannelMetadata metadata()
Channelpublic java.net.SocketAddress 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 java.net.SocketAddress remoteAddress0()
AbstractChannelSocketAddress which the Channel is connected to.remoteAddress0 在类中 AbstractChannelprotected void doDisconnect()
                     throws java.lang.Exception
AbstractChannelChannel from its remote peerdoDisconnect 在类中 AbstractChanneljava.lang.Exceptionprotected AbstractChannel.AbstractUnsafe newUnsafe()
AbstractChannelAbstractChannel.AbstractUnsafe instance which will be used for the life-time of the ChannelnewUnsafe 在类中 AbstractChannelprotected void doWrite(ChannelOutboundBuffer in) throws java.lang.Exception
AbstractChanneldoWrite 在类中 AbstractChanneljava.lang.Exceptionprotected final java.lang.Object filterOutboundMessage(java.lang.Object msg)
AbstractChannelChannelOutboundBuffer of this AbstractChannel, so that
 the Channel implementation converts the message to another. (e.g. heap buffer -> direct buffer)filterOutboundMessage 在类中 AbstractChannel