@PrivateApi public class TextReadHandler extends Object implements ReadHandler
| Constructor and Description | 
|---|
| TextReadHandler(TcpIpConnection connection) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | closeConnection() | 
| TextWriteHandler | getTextWriteHandler() | 
| void | onRead(ByteBuffer src)A callback to indicate that data is available in the ByteBuffer to be processed. | 
| void | publishRequest(TextCommand command) | 
| void | sendResponse(TextCommand command) | 
| static String | toStringAndClear(ByteBuffer bb) | 
public TextReadHandler(TcpIpConnection connection)
public void sendResponse(TextCommand command)
public void onRead(ByteBuffer src)
ReadHandleronRead in interface ReadHandlersrc - the ByteBuffer containing the data to read. The ByteBuffer is already in reading mode and when completed,
            should not be converted to write-mode using clear/compact. That is a task of the SocketReader.public static String toStringAndClear(ByteBuffer bb)
public void publishRequest(TextCommand command)
public TextWriteHandler getTextWriteHandler()
public void closeConnection()
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.