com.hazelcast.client.connection.nio
Class ClientWriteHandler

java.lang.Object
  extended by com.hazelcast.client.connection.nio.AbstractClientSelectionHandler
      extended by com.hazelcast.client.connection.nio.ClientWriteHandler
All Implemented Interfaces:
SelectionHandler, Runnable

public class ClientWriteHandler
extends AbstractClientSelectionHandler
implements Runnable


Field Summary
 
Fields inherited from class com.hazelcast.client.connection.nio.AbstractClientSelectionHandler
connection, connectionManager, ioSelector, logger, socketChannel
 
Constructor Summary
ClientWriteHandler(ClientConnection connection, IOSelector ioSelector, int bufferSize)
           
 
Method Summary
 void enqueueSocketWritable(SocketWritable socketWritable)
           
 void handle()
           
 void run()
           
 void shutdown()
           
 
Methods inherited from class com.hazelcast.client.connection.nio.AbstractClientSelectionHandler
register
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientWriteHandler

public ClientWriteHandler(ClientConnection connection,
                          IOSelector ioSelector,
                          int bufferSize)
Method Detail

handle

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

enqueueSocketWritable

public void enqueueSocketWritable(SocketWritable socketWritable)

run

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

shutdown

public void shutdown()
Overrides:
shutdown in class AbstractClientSelectionHandler


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