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

Implements the ProtocolParser interface. Parses a byte stream using XML protocol. More...

+ Inheritance diagram for AMPS.Client.XMLProtocolParser:

Public Member Functions

 XMLProtocolParser (XMLProtocol messageType)
 Initializes a new instance of the XMLProtocolParser class with the specified XML protocol message type. More...
 
void process (SimpleReadBuffer buffer, int remainingBytes, MessageHandler listener)
 Processes the incoming data. More...
 

Detailed Description

Implements the ProtocolParser interface. Parses a byte stream using XML protocol.

Constructor & Destructor Documentation

◆ XMLProtocolParser()

AMPS.Client.XMLProtocolParser.XMLProtocolParser ( XMLProtocol  messageType)
inline

Initializes a new instance of the XMLProtocolParser class with the specified XML protocol message type.

Parameters
messageTypeThe XML protocol message type.

Member Function Documentation

◆ process()

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

Processes the incoming data.

Parameters
bufferThe read buffer containing the data.
remainingBytesThe number of remaining bytes to process.
listenerThe message handler to invoke when messages are parsed.

Implements AMPS.Client.ProtocolParser.


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