Interface IMessageInfoDictionary
Generic FIX Dictionary.
Inherited Members
Namespace: OnixS.Fix
Assembly: OnixS.Fix.Engine.dll
Syntax
public interface IMessageInfoDictionary : ICloneable
Properties
Count
Gets the number of messages contained in the dictionary.
Declaration
int Count { get; }
Property Value
Type | Description |
---|---|
int |
Id
Declaration
string Id { get; }
Property Value
Type | Description |
---|---|
string |
MessageTypes
Gets types of messages contained in the dictionary.
Declaration
IEnumerable<string> MessageTypes { get; }
Property Value
Type | Description |
---|---|
IEnumerable<string> |
Name
FIX specification name.
Declaration
string Name { get; }
Property Value
Type | Description |
---|---|
string | FIX specification name |
Version
Declaration
ProtocolVersion Version { get; }
Property Value
Type | Description |
---|---|
ProtocolVersion |
Methods
CreateMessageInfoDictionary()
Returns modifiable copy of the dictionary.
Declaration
MessageInfoDictionary CreateMessageInfoDictionary()
Returns
Type | Description |
---|---|
MessageInfoDictionary |
GetMaxNumberOfFields()
Returns max number of fields on any level for all messages in a dictionary.
Declaration
int GetMaxNumberOfFields()
Returns
Type | Description |
---|---|
int |
GetMaxNumberOfGroups()
Returns max number of groups on any level for all messages in a dictionary.
Declaration
int GetMaxNumberOfGroups()
Returns
Type | Description |
---|---|
int |
GetMessageInfo(string)
Returns message info that belongs to the dictionary.
Declaration
MessageInfo GetMessageInfo(string msgType)
Parameters
Type | Name | Description |
---|---|---|
string | msgType |
Returns
Type | Description |
---|---|
MessageInfo |
TryGetMessageInfo(ReadOnlySpan<byte>, out MessageInfo)
Returns message info that belongs to the dictionary.
Declaration
bool TryGetMessageInfo(ReadOnlySpan<byte> msgType, out MessageInfo messageInfo)
Parameters
Type | Name | Description |
---|---|---|
ReadOnlySpan<byte> | msgType | Type of message |
MessageInfo | messageInfo | When this method returns, contains the message info for the specified message type, if the message type is found; otherwise, the default value for the message info. This parameter is passed uninitialized. |
Returns
Type | Description |
---|---|
bool | true if the Dictionary contains a message with the specified type; otherwise, false. |
TryGetMessageInfo(string, out MessageInfo)
Returns message info that belongs to this FIX Specification.
Declaration
bool TryGetMessageInfo(string msgType, out MessageInfo messageInfo)
Parameters
Type | Name | Description |
---|---|---|
string | msgType | Type of message |
MessageInfo | messageInfo | When this method returns, contains the message info for the specified message type, if the message type is found; otherwise, the default value for the message info. This parameter is passed uninitialized. |
Returns
Type | Description |
---|---|
bool | true if the Dictionary contains a message with the specified type; otherwise, false. |