public final class UkcpServerChannel extends io.netty.channel.nio.AbstractNioMessageChannel implements io.netty.channel.ServerChannel, Runnable
io.netty.channel.nio.AbstractNioChannel.AbstractNioUnsafe, io.netty.channel.nio.AbstractNioChannel.NioUnsafe| Constructor and Description |
|---|
UkcpServerChannel() |
UkcpServerChannel(DatagramChannel socket) |
UkcpServerChannel(SelectorProvider provider) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
closeOnReadError(Throwable cause) |
UkcpServerChannelConfig |
config() |
protected boolean |
continueOnWriteError() |
protected void |
doBind(SocketAddress localAddress) |
protected void |
doClose() |
protected boolean |
doConnect(SocketAddress remoteAddress,
SocketAddress localAddress) |
protected void |
doDisconnect() |
protected void |
doFinishConnect() |
protected int |
doReadMessages(List<Object> buf) |
protected boolean |
doWriteMessage(Object msg,
io.netty.channel.ChannelOutboundBuffer in) |
protected Object |
filterOutboundMessage(Object msg) |
boolean |
isActive() |
protected DatagramChannel |
javaChannel() |
InetSocketAddress |
localAddress() |
protected SocketAddress |
localAddress0() |
io.netty.channel.ChannelMetadata |
metadata() |
protected io.jpower.kcp.netty.UkcpServerChannel.UkcpServerUnsafe |
newUnsafe() |
InetSocketAddress |
remoteAddress() |
protected SocketAddress |
remoteAddress0() |
void |
run() |
continueReading, doBeginRead, doWriteclearReadPending, doDeregister, doRegister, eventLoop, isCompatible, isOpen, isReadPending, newDirectBuffer, newDirectBuffer, selectionKey, setReadPending, unsafealloc, bind, bind, bytesBeforeUnwritable, bytesBeforeWritable, close, close, closeFuture, compareTo, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, doShutdownOutput, equals, flush, hashCode, id, invalidateLocalAddress, invalidateRemoteAddress, isRegistered, isWritable, maxMessagesPerWrite, newChannelPipeline, newFailedFuture, newId, newProgressivePromise, newPromise, newSucceededFuture, parent, pipeline, read, toString, validateFileRegion, voidPromise, write, write, writeAndFlush, writeAndFlushclone, finalize, getClass, notify, notifyAll, wait, wait, waitalloc, bytesBeforeUnwritable, bytesBeforeWritable, closeFuture, eventLoop, flush, id, isOpen, 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 UkcpServerChannel()
public UkcpServerChannel(SelectorProvider provider)
public UkcpServerChannel(DatagramChannel socket)
public io.netty.channel.ChannelMetadata metadata()
metadata in interface io.netty.channel.Channelpublic UkcpServerChannelConfig config()
config in interface io.netty.channel.Channelprotected io.jpower.kcp.netty.UkcpServerChannel.UkcpServerUnsafe newUnsafe()
newUnsafe in class io.netty.channel.nio.AbstractNioMessageChannelpublic boolean isActive()
isActive in interface io.netty.channel.Channelprotected DatagramChannel javaChannel()
javaChannel in class io.netty.channel.nio.AbstractNioChannelprotected SocketAddress localAddress0()
localAddress0 in class io.netty.channel.AbstractChannelprotected SocketAddress remoteAddress0()
remoteAddress0 in class io.netty.channel.AbstractChannelprotected void doBind(SocketAddress localAddress) throws Exception
doBind in class io.netty.channel.AbstractChannelExceptionprotected void doClose()
throws Exception
doClose in class io.netty.channel.nio.AbstractNioChannelExceptionprotected int doReadMessages(List<Object> buf) throws Exception
doReadMessages in class io.netty.channel.nio.AbstractNioMessageChannelExceptionprotected boolean doWriteMessage(Object msg, io.netty.channel.ChannelOutboundBuffer in) throws Exception
doWriteMessage in class io.netty.channel.nio.AbstractNioMessageChannelExceptionprotected Object filterOutboundMessage(Object msg)
filterOutboundMessage in class io.netty.channel.AbstractChannelprotected boolean continueOnWriteError()
continueOnWriteError in class io.netty.channel.nio.AbstractNioMessageChannelpublic 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.AbstractChannelprotected boolean closeOnReadError(Throwable cause)
closeOnReadError in class io.netty.channel.nio.AbstractNioMessageChannelprotected boolean doConnect(SocketAddress remoteAddress, SocketAddress localAddress) throws Exception
doConnect in class io.netty.channel.nio.AbstractNioChannelExceptionprotected void doFinishConnect()
throws Exception
doFinishConnect in class io.netty.channel.nio.AbstractNioChannelExceptionprotected void doDisconnect()
throws Exception
doDisconnect in class io.netty.channel.AbstractChannelExceptionCopyright © 2023. All rights reserved.