Constructor and Description |
---|
JSONProtocol() |
JSONProtocol(java.util.Properties props) |
Modifier and Type | Method and Description |
---|---|
JSONMessage |
allocateMessage()
Allocates a new JSON Message.
|
JSONProtocolParser |
getMessageStream()
Returns a parser instance that can deserialize a byte stream into a series of messages.
|
public JSONProtocol()
public JSONProtocol(java.util.Properties props)
public JSONMessage allocateMessage()
allocateMessage
in interface Protocol
public JSONProtocolParser getMessageStream()
Protocol
getMessageStream
in interface Protocol