com.hazelcast.nio.ascii
Class SocketTextReader

java.lang.Object
  extended by com.hazelcast.nio.ascii.SocketTextReader
All Implemented Interfaces:
SocketReader

public class SocketTextReader
extends Object
implements SocketReader


Constructor Summary
SocketTextReader(TcpIpConnection connection)
           
 
Method Summary
 void closeConnection()
           
 SocketTextWriter getSocketTextWriter()
           
 void publishRequest(TextCommand command)
           
 void read(ByteBuffer inBuffer)
           
 void sendResponse(TextCommand command)
           
static String toStringAndClear(ByteBuffer bb)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocketTextReader

public SocketTextReader(TcpIpConnection connection)
Method Detail

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.