com.trendrr.oss.networking.strest
Class StrestMessageReader

java.lang.Object
  extended by com.trendrr.oss.networking.strest.StrestMessageReader
All Implemented Interfaces:
ByteReadCallback, ChannelCallback, StringReadCallback

public class StrestMessageReader
extends java.lang.Object
implements StringReadCallback, ByteReadCallback

Author:
Dustin Norlander

Constructor Summary
StrestMessageReader()
           
 
Method Summary
 void byteResult(byte[] result)
           
 void onError(TrendrrException ex)
           
 void start(StrestClient client, SocketChannelWrapper socket)
           
 void stop()
           
 void stringResult(java.lang.String result)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StrestMessageReader

public StrestMessageReader()
Method Detail

start

public void start(StrestClient client,
                  SocketChannelWrapper socket)

stop

public void stop()

onError

public void onError(TrendrrException ex)
Specified by:
onError in interface ChannelCallback

byteResult

public void byteResult(byte[] result)
Specified by:
byteResult in interface ByteReadCallback

stringResult

public void stringResult(java.lang.String result)
Specified by:
stringResult in interface StringReadCallback