com.hazelcast.nio.tcp
Class WriteHandler

java.lang.Object
  extended by com.hazelcast.nio.tcp.WriteHandler
All Implemented Interfaces:
SelectionHandler, Runnable

public final class WriteHandler
extends Object
implements Runnable

The writing side of the TcpIpConnection.


Field Summary
protected  TcpIpConnection connection
           
protected  TcpIpConnectionManager connectionManager
           
protected  ILogger logger
           
protected  SocketChannelWrapper socketChannel
           
 
Method Summary
 void enqueueSocketWritable(SocketWritable socketWritable)
           
 SocketWriter getSocketWriter()
           
 void handle()
           
 void run()
           
 void shutdown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected final ILogger logger

socketChannel

protected final SocketChannelWrapper socketChannel

connection

protected final TcpIpConnection connection

connectionManager

protected final TcpIpConnectionManager connectionManager
Method Detail

getSocketWriter

public SocketWriter getSocketWriter()

enqueueSocketWritable

public void enqueueSocketWritable(SocketWritable socketWritable)

handle

public void handle()
Specified by:
handle in interface SelectionHandler

run

public void run()
Specified by:
run in interface Runnable

shutdown

public void shutdown()


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.