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, registerpublic ClientWriteHandler(ClientConnection connection, NonBlockingIOThread ioThread, int bufferSize, boolean direct, LoggingService loggingService)
public void handle()
throws Exception
SelectionHandlerhandle in interface SelectionHandlerExceptionpublic void enqueue(OutboundFrame frame)
public void shutdown()
shutdown in class AbstractClientSelectionHandlerCopyright © 2017 Hazelcast, Inc.. All Rights Reserved.