Class OioClientSocketPipelineSink
java.lang.Object
org.jboss.netty.channel.AbstractChannelSink
org.jboss.netty.channel.socket.oio.AbstractOioChannelSink
org.jboss.netty.channel.socket.oio.OioClientSocketPipelineSink
- All Implemented Interfaces:
ChannelSink
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOioClientSocketPipelineSink(Executor workerExecutor, ThreadNameDeterminer determiner) -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidbind(OioClientSocketChannel channel, ChannelFuture future, SocketAddress localAddress) private voidconnect(OioClientSocketChannel channel, ChannelFuture future, SocketAddress remoteAddress) voideventSunk(ChannelPipeline pipeline, ChannelEvent e) Invoked byChannelPipelinewhen a downstreamChannelEventhas reached its terminal (the head of the pipeline).Methods inherited from class AbstractOioChannelSink
execute, isFireExceptionCaughtLaterMethods inherited from class AbstractChannelSink
exceptionCaught
-
Field Details
-
workerExecutor
-
determiner
-
-
Constructor Details
-
OioClientSocketPipelineSink
OioClientSocketPipelineSink(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
-
bind
private static void bind(OioClientSocketChannel channel, ChannelFuture future, SocketAddress localAddress) -
connect
private void connect(OioClientSocketChannel channel, ChannelFuture future, SocketAddress remoteAddress)
-