com.hazelcast.nio.ascii
Class SocketTextReader
java.lang.Object
com.hazelcast.nio.ascii.SocketTextReader
- All Implemented Interfaces:
- SocketReader
public class SocketTextReader
- extends Object
- implements SocketReader
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SocketTextReader
public SocketTextReader(TcpIpConnection connection)
sendResponse
public void sendResponse(TextCommand command)
read
public void read(ByteBuffer inBuffer)
- Specified by:
read
in interface SocketReader
toStringAndClear
public static String toStringAndClear(ByteBuffer bb)
publishRequest
public void publishRequest(TextCommand command)
getSocketTextWriter
public SocketTextWriter getSocketTextWriter()
closeConnection
public void closeConnection()
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.