AMPS C# Client  5.3.4.0
AMPS C# Client for .NET
AMPS.Client.FIXProtocol Class Reference

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

+ Inheritance diagram for AMPS.Client.FIXProtocol:

Public Member Functions

 FIXProtocol ()
 The character set used to encode and decode messages sent via FIX. This value must be set before connecting a Client to a FIX endpoint. More...
 
 FIXProtocol (Properties props)
 Initializes a new instance of the FIXProtocol class with the specified properties. More...
 
 FIXProtocol (byte fieldSeparator, byte headerSeparator, byte messageSeparator)
 Initializes a new instance of the FIXProtocol class with the specified separators. More...
 
virtual Message allocateMessage ()
 Allocates a new FIX message.

Returns
The newly allocated FIX Message.

 
virtual ProtocolParser getMessageStream ()
 Gets a new ProtocolParser instance for parsing messages. More...
 

Public Attributes

byte fieldSeparator = 0x01
 
byte headerSeparator = 0x02
 
byte messageSeparator = 0x03
 
Encoding Encoding
 

Detailed Description

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

Constructor & Destructor Documentation

AMPS.Client.FIXProtocol.FIXProtocol ( )
inline

The character set used to encode and decode messages sent via FIX. This value must be set before connecting a Client to a FIX endpoint.

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

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

Parameters
propsA dictionary of properties containing field, header, and message separators.
AMPS.Client.FIXProtocol.FIXProtocol ( byte  fieldSeparator,
byte  headerSeparator,
byte  messageSeparator 
)
inline

Initializes a new instance of the FIXProtocol class with the specified separators.

Parameters
fieldSeparatorThe field separator byte value.
headerSeparatorThe header separator byte value.
messageSeparatorThe message separator byte value.

Member Function Documentation

virtual ProtocolParser AMPS.Client.FIXProtocol.getMessageStream ( )
inlinevirtual

Gets a new ProtocolParser instance for parsing messages.

Returns
A new ProtocolParser instance for parsing FIX messages.

Implements AMPS.Client.Protocol.

Reimplemented in AMPS.Client.NVFIXProtocol.


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