com.crankuptheamps.client
Class JSONProtocol

java.lang.Object
  extended by com.crankuptheamps.client.JSONProtocol
All Implemented Interfaces:
Protocol

public class JSONProtocol
extends Object
implements Protocol


Field Summary
protected static String UTF8
           
 
Constructor Summary
JSONProtocol()
           
JSONProtocol(Properties props)
           
 
Method Summary
 JSONMessage allocateMessage()
           
 JSONProtocolParser getMessageStream()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UTF8

protected static final String UTF8
See Also:
Constant Field Values
Constructor Detail

JSONProtocol

public JSONProtocol()

JSONProtocol

public JSONProtocol(Properties props)
Method Detail

allocateMessage

public JSONMessage allocateMessage()
Specified by:
allocateMessage in interface Protocol

getMessageStream

public JSONProtocolParser getMessageStream()
Specified by:
getMessageStream in interface Protocol