public class SocketTextReader extends Object implements TextCommandConstants, SocketReader
TextCommandConstants.TextCommandTypeCLIENT_ERROR, DELETED, END, ERROR, FLAG_ZERO, MONTH_SECONDS, NOT_FOUND, NOT_STORED, RETURN, RETURN_END, SERVER_ERROR, SPACE, STORED, TOUCHED, VALUE_SPACE| Constructor and Description |
|---|
SocketTextReader(TcpIpConnection connection) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeConnection() |
SocketTextWriter |
getSocketTextWriter() |
void |
publishRequest(TextCommand command) |
void |
read(ByteBuffer inBuffer) |
void |
sendResponse(TextCommand command) |
static String |
toStringAndClear(ByteBuffer bb) |
public SocketTextReader(TcpIpConnection connection)
public void sendResponse(TextCommand command)
public void read(ByteBuffer inBuffer)
read in interface SocketReaderpublic static String toStringAndClear(ByteBuffer bb)
public void publishRequest(TextCommand command)
public SocketTextWriter getSocketTextWriter()
public void closeConnection()
Copyright © 2021 Hazelcast, Inc.. All rights reserved.