com.crankuptheamps.client
Class JSONProtocolParser

java.lang.Object
  extended by com.crankuptheamps.client.JSONProtocolParser
All Implemented Interfaces:
ProtocolParser

public class JSONProtocolParser
extends Object
implements ProtocolParser


Constructor Summary
JSONProtocolParser(JSONProtocol messageType)
           
 
Method Summary
 void process(ByteBuffer buffer, int remainingBytes, MessageHandler listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSONProtocolParser

public JSONProtocolParser(JSONProtocol messageType)
Method Detail

process

public void process(ByteBuffer buffer,
                    int remainingBytes,
                    MessageHandler listener)
             throws StreamException
Specified by:
process in interface ProtocolParser
Throws:
StreamException