public class ClientWriteHandler extends AbstractClientSelectionHandler implements Runnable
connection, connectionManager, logger, socketChannel| Constructor and Description |
|---|
ClientWriteHandler(ClientConnection connection,
NonBlockingIOThread ioThread,
int bufferSize) |
| 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)
public void handle()
throws Exception
SelectionHandlerhandle in interface SelectionHandlerExceptionpublic void enqueue(OutboundFrame frame)
public void shutdown()
shutdown in class AbstractClientSelectionHandlerCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.