com.hazelcast.nio.ascii
public class SocketTextReader extends Object implements SocketReader
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 SocketReader
public static String toStringAndClear(ByteBuffer bb)
public void publishRequest(TextCommand command)
public SocketTextWriter getSocketTextWriter()
public void closeConnection()
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.