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

Implements the Protocol interface. Used to parse a byte stream as a series of messages. The byte stream must used AMPS FIX protocol. More...

+ Inheritance diagram for AMPS.Client.JSONProtocol:

Public Member Functions

 JSONProtocol ()
 Initializes a new instance of the JSONProtocol class. More...
 
 JSONProtocol (Properties props)
 Initializes a new instance of the JSONProtocol class with the specified properties. More...
 
Message allocateMessage ()
 Allocates a new JSON Message. More...
 
ProtocolParser getMessageStream ()
 Gets the message stream for JSON protocol. More...
 

Detailed Description

Implements the Protocol interface. Used to parse a byte stream as a series of messages. The byte stream must used AMPS FIX protocol.

Constructor & Destructor Documentation

◆ JSONProtocol() [1/2]

AMPS.Client.JSONProtocol.JSONProtocol ( )
inline

Initializes a new instance of the JSONProtocol class.

◆ JSONProtocol() [2/2]

AMPS.Client.JSONProtocol.JSONProtocol ( Properties  props)
inline

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

Parameters
propsThe properties.

Member Function Documentation

◆ allocateMessage()

Message AMPS.Client.JSONProtocol.allocateMessage ( )
inline

Allocates a new JSON Message.

Returns
The newly allocated JSON Message.

Implements AMPS.Client.Protocol.

◆ getMessageStream()

ProtocolParser AMPS.Client.JSONProtocol.getMessageStream ( )
inline

Gets the message stream for JSON protocol.

Returns
The message stream for JSON protocol.

Implements AMPS.Client.Protocol.


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