com.hazelcast.nio.ascii
Class SocketTextWriter

java.lang.Object
  extended by com.hazelcast.nio.ascii.SocketTextWriter
All Implemented Interfaces:
SocketWriter<TextCommand>

public class SocketTextWriter
extends Object
implements SocketWriter<TextCommand>


Constructor Summary
SocketTextWriter(TcpIpConnection connection)
           
 
Method Summary
 void enqueue(TextCommand response)
           
 boolean write(TextCommand socketWritable, ByteBuffer socketBuffer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocketTextWriter

public SocketTextWriter(TcpIpConnection connection)
Method Detail

enqueue

public void enqueue(TextCommand response)

write

public boolean write(TextCommand socketWritable,
                     ByteBuffer socketBuffer)
              throws Exception
Specified by:
write in interface SocketWriter<TextCommand>
Throws:
Exception


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.