public class RakChildChannel extends io.netty.channel.AbstractChannel implements RakChannel
| Constructor and Description |
|---|
RakChildChannel(java.net.InetSocketAddress remoteAddress,
RakServerChannel parent,
long guid,
int version,
int mtu) |
| Modifier and Type | Method and Description |
|---|---|
RakChannelConfig |
config() |
protected void |
doBeginRead() |
protected void |
doBind(java.net.SocketAddress socketAddress) |
protected void |
doClose() |
protected void |
doDisconnect() |
protected void |
doWrite(io.netty.channel.ChannelOutboundBuffer in) |
boolean |
isActive() |
protected boolean |
isCompatible(io.netty.channel.EventLoop eventLoop) |
boolean |
isOpen() |
java.net.InetSocketAddress |
localAddress() |
java.net.SocketAddress |
localAddress0() |
io.netty.channel.ChannelMetadata |
metadata() |
protected io.netty.channel.AbstractChannel.AbstractUnsafe |
newUnsafe() |
io.netty.channel.ChannelPipeline |
rakPipeline() |
java.net.InetSocketAddress |
remoteAddress() |
java.net.SocketAddress |
remoteAddress0() |
void |
setActive(boolean active) |
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, maxMessagesPerWrite, newChannelPipeline, newFailedFuture, newId, newProgressivePromise, newPromise, newSucceededFuture, parent, pipeline, read, toString, unsafe, validateFileRegion, voidPromise, write, write, writeAndFlush, writeAndFlushclone, finalize, getClass, notify, notifyAll, wait, wait, waitalloc, bytesBeforeUnwritable, bytesBeforeWritable, closeFuture, eventLoop, flush, id, isRegistered, isWritable, parent, pipeline, read, unsafebind, bind, close, close, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, voidPromise, write, write, writeAndFlush, writeAndFlushpublic RakChildChannel(java.net.InetSocketAddress remoteAddress,
RakServerChannel parent,
long guid,
int version,
int mtu)
public io.netty.channel.ChannelPipeline rakPipeline()
rakPipeline in interface RakChannelpublic java.net.SocketAddress localAddress0()
localAddress0 in class io.netty.channel.AbstractChannelpublic java.net.SocketAddress remoteAddress0()
remoteAddress0 in class io.netty.channel.AbstractChannelpublic java.net.InetSocketAddress localAddress()
localAddress in interface io.netty.channel.ChannellocalAddress in class io.netty.channel.AbstractChannelpublic java.net.InetSocketAddress remoteAddress()
remoteAddress in interface io.netty.channel.ChannelremoteAddress in class io.netty.channel.AbstractChannelpublic RakChannelConfig config()
config in interface io.netty.channel.Channelpublic io.netty.channel.ChannelMetadata metadata()
metadata in interface io.netty.channel.Channelprotected void doBind(java.net.SocketAddress socketAddress)
throws java.lang.Exception
doBind in class io.netty.channel.AbstractChanneljava.lang.Exceptionprotected void doBeginRead()
throws java.lang.Exception
doBeginRead in class io.netty.channel.AbstractChanneljava.lang.Exceptionprotected void doWrite(io.netty.channel.ChannelOutboundBuffer in)
throws java.lang.Exception
doWrite in class io.netty.channel.AbstractChanneljava.lang.Exceptionpublic void setActive(boolean active)
protected void doDisconnect()
throws java.lang.Exception
doDisconnect in class io.netty.channel.AbstractChanneljava.lang.Exceptionprotected void doClose()
throws java.lang.Exception
doClose in class io.netty.channel.AbstractChanneljava.lang.Exceptionpublic boolean isActive()
isActive in interface io.netty.channel.Channelpublic boolean isOpen()
isOpen in interface io.netty.channel.Channelprotected boolean isCompatible(io.netty.channel.EventLoop eventLoop)
isCompatible in class io.netty.channel.AbstractChannelprotected io.netty.channel.AbstractChannel.AbstractUnsafe newUnsafe()
newUnsafe in class io.netty.channel.AbstractChannel