public class RakChildChannel extends io.netty.channel.AbstractChannel implements RakChannel
| Constructor and Description |
|---|
RakChildChannel(InetSocketAddress remoteAddress,
RakServerChannel parent,
long guid,
int version,
int mtu) |
| Modifier and Type | Method and Description |
|---|---|
RakChannelConfig |
config() |
protected void |
doBeginRead() |
protected void |
doBind(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() |
InetSocketAddress |
localAddress() |
SocketAddress |
localAddress0() |
io.netty.channel.ChannelMetadata |
metadata() |
protected io.netty.channel.AbstractChannel.AbstractUnsafe |
newUnsafe() |
io.netty.channel.ChannelPipeline |
rakPipeline() |
InetSocketAddress |
remoteAddress() |
SocketAddress |
remoteAddress0() |
void |
setActive() |
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, writeAndFlushcompareTopublic RakChildChannel(InetSocketAddress remoteAddress, RakServerChannel parent, long guid, int version, int mtu)
public io.netty.channel.ChannelPipeline rakPipeline()
rakPipeline in interface RakChannelpublic SocketAddress localAddress0()
localAddress0 in class io.netty.channel.AbstractChannelpublic SocketAddress remoteAddress0()
remoteAddress0 in class io.netty.channel.AbstractChannelpublic InetSocketAddress localAddress()
localAddress in interface io.netty.channel.ChannellocalAddress in class io.netty.channel.AbstractChannelpublic 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(SocketAddress socketAddress) throws Exception
doBind in class io.netty.channel.AbstractChannelExceptionprotected void doBeginRead()
throws Exception
doBeginRead in class io.netty.channel.AbstractChannelExceptionprotected void doWrite(io.netty.channel.ChannelOutboundBuffer in)
throws Exception
doWrite in class io.netty.channel.AbstractChannelExceptionpublic void setActive()
protected void doDisconnect()
throws Exception
doDisconnect in class io.netty.channel.AbstractChannelExceptionprotected void doClose()
throws Exception
doClose in class io.netty.channel.AbstractChannelExceptionpublic 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.AbstractChannelCopyright © 2018–2022. All rights reserved.