AMPS C# Client  5.3.5.0
AMPS C# Client for .NET
AMPS.Client.JSONProtocolParser Class Reference

Implements the ProtocolParser interface. Parses a byte stream using JSON Protocol (AMPS Protocol). More...

+ Inheritance diagram for AMPS.Client.JSONProtocolParser:

Public Member Functions

 JSONProtocolParser (JSONProtocol messageType)
 Initializes a new instance of the JSONProtocolParser class with the specified JSONProtocol. More...
 
void process (SimpleReadBuffer buffer, int remainingBytes, MessageHandler listener)
 Processes the byte stream using the JSONProtocolParser. More...
 

Detailed Description

Implements the ProtocolParser interface. Parses a byte stream using JSON Protocol (AMPS Protocol).

Constructor & Destructor Documentation

◆ JSONProtocolParser()

AMPS.Client.JSONProtocolParser.JSONProtocolParser ( JSONProtocol  messageType)
inline

Initializes a new instance of the JSONProtocolParser class with the specified JSONProtocol.

Parameters
messageTypeThe JSONProtocol instance.

Member Function Documentation

◆ process()

void AMPS.Client.JSONProtocolParser.process ( SimpleReadBuffer  buffer,
int  remainingBytes,
MessageHandler  listener 
)
inline

Processes the byte stream using the JSONProtocolParser.

Parameters
bufferThe buffer containing the byte stream.
remainingBytesThe number of remaining bytes in the buffer.
listenerThe message handler listener.

Implements AMPS.Client.ProtocolParser.


The documentation for this class was generated from the following file: