Package net.citizensnpcs.util
Class EmptyChannel
java.lang.Object
io.netty.util.DefaultAttributeMap
io.netty.channel.AbstractChannel
net.citizensnpcs.util.EmptyChannel
- All Implemented Interfaces:
io.netty.channel.Channel
,io.netty.channel.ChannelOutboundInvoker
,io.netty.util.AttributeMap
,Comparable<io.netty.channel.Channel>
public class EmptyChannel
extends io.netty.channel.AbstractChannel
-
Nested Class Summary
Nested classes/interfaces inherited from class io.netty.channel.AbstractChannel
io.netty.channel.AbstractChannel.AbstractUnsafe
Nested classes/interfaces inherited from interface io.netty.channel.Channel
io.netty.channel.Channel.Unsafe
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionio.netty.channel.ChannelConfig
config()
protected void
protected void
doBind
(SocketAddress arg0) protected void
doClose()
protected void
protected void
doWrite
(io.netty.channel.ChannelOutboundBuffer arg0) boolean
isActive()
protected boolean
isCompatible
(io.netty.channel.EventLoop arg0) boolean
isOpen()
protected SocketAddress
io.netty.channel.ChannelMetadata
metadata()
protected io.netty.channel.AbstractChannel.AbstractUnsafe
protected SocketAddress
Methods inherited from class io.netty.channel.AbstractChannel
alloc, bind, bind, bytesBeforeUnwritable, bytesBeforeWritable, close, close, closeFuture, compareTo, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, doDeregister, doRegister, doShutdownOutput, equals, eventLoop, filterOutboundMessage, flush, hashCode, id, invalidateLocalAddress, invalidateRemoteAddress, isRegistered, isWritable, localAddress, maxMessagesPerWrite, newChannelPipeline, newFailedFuture, newId, newProgressivePromise, newPromise, newSucceededFuture, parent, pipeline, read, remoteAddress, toString, unsafe, validateFileRegion, voidPromise, write, write, writeAndFlush, writeAndFlush
Methods inherited from class io.netty.util.DefaultAttributeMap
attr, hasAttr
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.netty.util.AttributeMap
attr, hasAttr
-
Constructor Details
-
EmptyChannel
public EmptyChannel(io.netty.channel.Channel parent)
-
-
Method Details
-
config
public io.netty.channel.ChannelConfig config() -
doBeginRead
- Specified by:
doBeginRead
in classio.netty.channel.AbstractChannel
- Throws:
Exception
-
doBind
- Specified by:
doBind
in classio.netty.channel.AbstractChannel
- Throws:
Exception
-
doClose
- Specified by:
doClose
in classio.netty.channel.AbstractChannel
- Throws:
Exception
-
doDisconnect
- Specified by:
doDisconnect
in classio.netty.channel.AbstractChannel
- Throws:
Exception
-
doWrite
- Specified by:
doWrite
in classio.netty.channel.AbstractChannel
- Throws:
Exception
-
isActive
public boolean isActive() -
isCompatible
protected boolean isCompatible(io.netty.channel.EventLoop arg0) - Specified by:
isCompatible
in classio.netty.channel.AbstractChannel
-
isOpen
public boolean isOpen() -
localAddress0
- Specified by:
localAddress0
in classio.netty.channel.AbstractChannel
-
metadata
public io.netty.channel.ChannelMetadata metadata() -
newUnsafe
protected io.netty.channel.AbstractChannel.AbstractUnsafe newUnsafe()- Specified by:
newUnsafe
in classio.netty.channel.AbstractChannel
-
remoteAddress0
- Specified by:
remoteAddress0
in classio.netty.channel.AbstractChannel
-