public abstract class AbstractEmbeddedChannel extends AbstractChannel
AbstractChannel.AbstractUnsafeChannel.Unsafe| Modifier and Type | Field and Description |
|---|---|
protected Object |
lastOutboundBuffer |
flushFutureNotifier| Modifier and Type | Method and Description |
|---|---|
void |
checkException() |
ChannelConfig |
config()
Returns the configuration of this channel.
|
protected void |
doBind(SocketAddress localAddress) |
protected void |
doClose() |
protected void |
doDeregister() |
protected void |
doDisconnect() |
protected Runnable |
doRegister() |
boolean |
isActive() |
protected boolean |
isCompatible(EventLoop loop) |
protected boolean |
isFlushPending() |
boolean |
isOpen() |
io.netty.buffer.ByteBuf |
lastInboundByteBuffer() |
io.netty.buffer.MessageBuf<Object> |
lastInboundMessageBuffer() |
protected SocketAddress |
localAddress0() |
protected Channel.Unsafe |
newUnsafe() |
Object |
readInbound() |
protected SocketAddress |
remoteAddress0() |
bind, bind, close, close, closeFuture, compareTo, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, doFlushByteBuffer, doFlushMessageBuffer, doPreClose, equals, eventLoop, flush, flush, hashCode, id, invalidateLocalAddress, invalidateRemoteAddress, isRegistered, localAddress, newFailedFuture, newFuture, newSucceededFuture, outboundByteBuffer, outboundMessageBuffer, parent, pipeline, remoteAddress, toString, unsafe, write, writeprotected final Object lastOutboundBuffer
public ChannelConfig config()
Channelpublic boolean isOpen()
public boolean isActive()
public io.netty.buffer.MessageBuf<Object> lastInboundMessageBuffer()
public io.netty.buffer.ByteBuf lastInboundByteBuffer()
public Object readInbound()
public void checkException()
protected boolean isCompatible(EventLoop loop)
isCompatible in class AbstractChannelprotected SocketAddress localAddress0()
localAddress0 in class AbstractChannelprotected SocketAddress remoteAddress0()
remoteAddress0 in class AbstractChannelprotected Runnable doRegister() throws Exception
doRegister in class AbstractChannelExceptionprotected void doBind(SocketAddress localAddress) throws Exception
doBind in class AbstractChannelExceptionprotected void doDisconnect()
throws Exception
doDisconnect in class AbstractChannelExceptionprotected void doClose()
throws Exception
doClose in class AbstractChannelExceptionprotected void doDeregister()
throws Exception
doDeregister in class AbstractChannelExceptionprotected Channel.Unsafe newUnsafe()
newUnsafe in class AbstractChannelprotected boolean isFlushPending()
isFlushPending in class AbstractChannelCopyright © 2008-2012 The Netty Project. All Rights Reserved.