Constructor and Description |
---|
JSONProtocol()
Initializes a new instance of the JSONProtocol class.
|
JSONProtocol(java.util.Properties props)
Initializes a new instance of the JSONProtocol class with
the specified properties.
|
Modifier and Type | Method and Description |
---|---|
JSONMessage |
allocateMessage()
Allocates a new JSON Message.
|
JSONProtocolParser |
getMessageStream()
Gets the message stream for JSON protocol.
|
public JSONProtocol()
public JSONProtocol(java.util.Properties props)
props
- The properties.public JSONMessage allocateMessage()
allocateMessage
in interface Protocol
public JSONProtocolParser getMessageStream()
getMessageStream
in interface Protocol