class OioClientSocketPipelineSink extends AbstractOioChannelSink
| Modifier and Type | Field and Description |
|---|---|
private ThreadNameDeterminer |
determiner |
private java.util.concurrent.Executor |
workerExecutor |
| Constructor and Description |
|---|
OioClientSocketPipelineSink(java.util.concurrent.Executor workerExecutor,
ThreadNameDeterminer determiner) |
| Modifier and Type | Method and Description |
|---|---|
private static void |
bind(OioClientSocketChannel channel,
ChannelFuture future,
java.net.SocketAddress localAddress) |
private void |
connect(OioClientSocketChannel channel,
ChannelFuture future,
java.net.SocketAddress remoteAddress) |
void |
eventSunk(ChannelPipeline pipeline,
ChannelEvent e)
Invoked by
ChannelPipeline when a downstream ChannelEvent
has reached its terminal (the head of the pipeline). |
execute, isFireExceptionCaughtLaterexceptionCaughtprivate final java.util.concurrent.Executor workerExecutor
private final ThreadNameDeterminer determiner
OioClientSocketPipelineSink(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 static void bind(OioClientSocketChannel channel, ChannelFuture future, java.net.SocketAddress localAddress)
private void connect(OioClientSocketChannel channel, ChannelFuture future, java.net.SocketAddress remoteAddress)