AMPS C# Client  5.3.5.0
AMPS C# Client for .NET
AMPS.Client.ProtocolParser Interface Reference

Represents an interface for parsing protocols. More...

+ Inheritance diagram for AMPS.Client.ProtocolParser:

Public Member Functions

void process (SimpleReadBuffer buffer, int length, MessageHandler listener)
 Processes the input buffer using the specified length and notifies the listener with parsed messages. More...
 

Detailed Description

Represents an interface for parsing protocols.

Member Function Documentation

◆ process()

void AMPS.Client.ProtocolParser.process ( SimpleReadBuffer  buffer,
int  length,
MessageHandler  listener 
)

Processes the input buffer using the specified length and notifies the listener with parsed messages.

Parameters
bufferThe input buffer to process.
lengthThe length of valid data in the buffer.
listenerThe message handler to notify with parsed messages.

Implemented in AMPS.Client.XMLProtocolParser, AMPS.Client.JSONProtocolParser, and AMPS.Client.FIXProtocolParser.


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