class OioServerSocketPipelineSink extends AbstractOioChannelSink
| Modifier and Type | Class and Description |
|---|---|
private class |
OioServerSocketPipelineSink.Boss |
| Modifier and Type | Field and Description |
|---|---|
private ThreadNameDeterminer |
determiner |
(package private) static InternalLogger |
logger |
(package private) java.util.concurrent.Executor |
workerExecutor |
| Constructor and Description |
|---|
OioServerSocketPipelineSink(java.util.concurrent.Executor workerExecutor,
ThreadNameDeterminer determiner) |
| Modifier and Type | Method and Description |
|---|---|
private void |
bind(OioServerSocketChannel channel,
ChannelFuture future,
java.net.SocketAddress localAddress) |
private static void |
close(OioServerSocketChannel channel,
ChannelFuture future) |
void |
eventSunk(ChannelPipeline pipeline,
ChannelEvent e)
Invoked by
ChannelPipeline when a downstream ChannelEvent
has reached its terminal (the head of the pipeline). |
private static void |
handleAcceptedSocket(ChannelEvent e) |
private void |
handleServerSocket(ChannelEvent e) |
execute, isFireExceptionCaughtLaterexceptionCaughtstatic final InternalLogger logger
final java.util.concurrent.Executor workerExecutor
private final ThreadNameDeterminer determiner
OioServerSocketPipelineSink(java.util.concurrent.Executor workerExecutor,
ThreadNameDeterminer determiner)
public void eventSunk(ChannelPipeline pipeline, ChannelEvent e) throws java.lang.Exception
ChannelSinkChannelPipeline when a downstream ChannelEvent
has reached its terminal (the head of the pipeline).java.lang.Exceptionprivate void handleServerSocket(ChannelEvent e)
private static void handleAcceptedSocket(ChannelEvent e)
private void bind(OioServerSocketChannel channel, ChannelFuture future, java.net.SocketAddress localAddress)
private static void close(OioServerSocketChannel channel, ChannelFuture future)