public class ClientWriteHandler extends AbstractClientSelectionHandler implements Runnable
connection, connectionManager, eventCount, logger, socketChannel
Constructor and Description |
---|
ClientWriteHandler(ClientConnection connection,
NonBlockingIOThread ioThread,
int bufferSize,
boolean direct,
LoggingService loggingService) |
Modifier and Type | Method and Description |
---|---|
void |
enqueue(OutboundFrame frame) |
void |
handle()
Called when there are bytes available for reading, or space available to write.
|
void |
run() |
void |
shutdown() |
onFailure, register
public ClientWriteHandler(ClientConnection connection, NonBlockingIOThread ioThread, int bufferSize, boolean direct, LoggingService loggingService)
public void handle() throws Exception
SelectionHandler
handle
in interface SelectionHandler
Exception
public void enqueue(OutboundFrame frame)
public void shutdown()
shutdown
in class AbstractClientSelectionHandler
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.