Class OioServerSocketPipelineSink
java.lang.Object
org.jboss.netty.channel.AbstractChannelSink
org.jboss.netty.channel.socket.oio.AbstractOioChannelSink
org.jboss.netty.channel.socket.oio.OioServerSocketPipelineSink
- All Implemented Interfaces:
ChannelSink
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ThreadNameDeterminer(package private) static final InternalLogger(package private) final Executor -
Constructor Summary
ConstructorsConstructorDescriptionOioServerSocketPipelineSink(Executor workerExecutor, ThreadNameDeterminer determiner) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidbind(OioServerSocketChannel channel, ChannelFuture future, SocketAddress localAddress) private static voidclose(OioServerSocketChannel channel, ChannelFuture future) voideventSunk(ChannelPipeline pipeline, ChannelEvent e) Invoked byChannelPipelinewhen a downstreamChannelEventhas reached its terminal (the head of the pipeline).private static voidprivate voidMethods inherited from class AbstractOioChannelSink
execute, isFireExceptionCaughtLaterMethods inherited from class AbstractChannelSink
exceptionCaught
-
Field Details
-
logger
-
workerExecutor
-
determiner
-
-
Constructor Details
-
OioServerSocketPipelineSink
OioServerSocketPipelineSink(Executor workerExecutor, ThreadNameDeterminer determiner)
-
-
Method Details
-
eventSunk
Description copied from interface:ChannelSinkInvoked byChannelPipelinewhen a downstreamChannelEventhas reached its terminal (the head of the pipeline).- Throws:
Exception
-
handleServerSocket
-
handleAcceptedSocket
-
bind
-
close
-