LinkErrorException Events | Table of Content | Message Constructor |
Message Class |
Namespace: FIXForge.NET.FIX
[SerializableAttribute] public class Message : FieldSet, ICloneable, IDisposable
The Message type exposes the following members.
Name | Description | |
---|---|---|
Message(ArraySegment<Byte>) |
Parses the raw FIX message byte array and creates the corresponding class instance.
| |
Message(Byte[]) |
Parses the raw FIX message byte array and creates the corresponding class instance.
| |
Message(String) |
Parses the raw FIX message string and creates the corresponding class instance.
| |
Message(FlatMessage) |
Parses the raw FIX FlatMessage and creates the corresponding class instance.
| |
Message(Message) |
Creates the exact copy of the given message.
| |
Message(ArraySegment<Byte>, Dialect) |
Parses the raw FIX message byte array and creates the corresponding class instance.
| |
Message(ArraySegment<Byte>, MessageParsingFlags) |
Parses the raw FIX message byte array and creates the corresponding class instance.
| |
Message(ArraySegment<Byte>, ProtocolVersion) |
Parses the raw FIX message byte array and creates the corresponding class instance.
| |
Message(Byte[], Dialect) |
Parses the raw FIX message byte array and creates the corresponding class instance.
| |
Message(Byte[], MessageParsingFlags) |
Parses the raw FIX message byte array and creates the corresponding class instance.
| |
Message(Byte[], ProtocolVersion) |
Parses the raw FIX message byte array and creates the corresponding class instance.
| |
Message(String, Dialect) |
Creates a message which belongs to specified dialect.
| |
Message(String, MessageParsingFlags) |
Parses the raw FIX message string and creates the corresponding class instance.
| |
Message(String, ProtocolVersion) |
Creates a message.
| |
Message(Message, Boolean) |
Creates the exact copy of the given message.
| |
Message(ArraySegment<Byte>, Dialect, MessageParsingFlags) |
Parses the raw FIX message byte array and creates the corresponding class instance.
| |
Message(ArraySegment<Byte>, MessageParsingFlags, Int32) |
Parses the raw FIX message byte array and creates the corresponding class instance.
| |
Message(ArraySegment<Byte>, ProtocolVersion, MessageParsingFlags) |
Parses the raw FIX message byte array and creates the corresponding class instance.
| |
Message(Byte[], Dialect, MessageParsingFlags) |
Parses the raw FIX message byte array and creates the corresponding class instance.
| |
Message(Byte[], MessageParsingFlags, Int32) |
Parses the raw FIX message byte array and creates the corresponding class instance.
| |
Message(Byte[], ProtocolVersion, MessageParsingFlags) |
Parses the raw FIX message byte array and creates the corresponding class instance.
| |
Message(String, Dialect, Int32) |
Creates a message which belongs to specified dialect.
| |
Message(String, MessageParsingFlags, Int32) |
Parses the raw FIX message string and creates the corresponding class instance.
| |
Message(String, ProtocolVersion, Int32) |
Creates a message.
| |
Message(ArraySegment<Byte>, Dialect, MessageParsingFlags, Int32) |
Parses the raw FIX message byte array and creates the corresponding class instance.
| |
Message(ArraySegment<Byte>, ProtocolVersion, MessageParsingFlags, Int32) |
Parses the raw FIX message byte array and creates the corresponding class instance.
| |
Message(Byte[], Dialect, MessageParsingFlags, Int32) |
Parses the raw FIX message byte array and creates the corresponding class instance.
| |
Message(Byte[], ProtocolVersion, MessageParsingFlags, Int32) |
Parses the raw FIX message byte array and creates the corresponding class instance.
|
Name | Description | |
---|---|---|
Dialect | Instance of FIX dialect to which given message belongs to. | |
Fields |
Returns message fields.
(Overrides FieldSet.Fields.) | |
FieldValue |
Returns the field value as string if it is present or null value otherwise.
(Inherited from FieldSet.) | |
IsDisposed |
Returns true if the FIX message object is disposed, false otherwise.
| |
Owner |
Returns owner of current FieldSet.
(Inherited from FieldSet.) | |
SenderCompID | Assigned value used to identify firm sending message (SenderCompID, tag=49 field value). | |
SeqNum | Message sequence number (MsgSeqNum, tag=34 field value). | |
TargetCompID | Assigned value used to identify receiving firm (TargetCompID, tag=56 field value). | |
Type | Message type (MsgType, tag=35 field value). | |
Valid | Returns true if the instance is valid. (Inherited from FieldSet.) | |
Version | Financial Interface eXchange (FIX) protocol version. |
Name | Description | |
---|---|---|
Clone | Creates a new object that is a copy of the current instance. | |
CloneTo | Copies the current instance to the existing destination object. | |
CompareFieldValue |
Returns true if the field, specified by the given tag, is present in the FieldSet instance and its value is equal to the given string value, otherwise it returns false.
(Inherited from FieldSet.) | |
CompareType(Char) | Returns true if the message type value is equal to the given char value, otherwise it returns false. | |
CompareType(String) | Returns true if the message type value is equal to the given string value, otherwise it returns false. | |
Contain |
Returns true if the field is present in the message body (excluding repeating groups) or false otherwise.
(Inherited from FieldSet.) | |
CopyFields | Copies all message fields (except protocol version) from another message object. | |
CopyTo(Byte[]) | Copy message contents to an external buffer. | |
CopyTo(Byte[], Int32) | Copy message contents to an external buffer starting from offset. | |
Dispose() | Explicitly releases resource. | |
Dispose(Boolean) | Releases the unmanaged resources used by the Message and optionally releases the managed resources | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Perform cleanup operations on unmanaged resources held by the current Message object before the object is destroyed. (Overrides Object.Finalize().) | |
Get(Int32) |
Returns the field value as string if it is present or null value otherwise.
(Inherited from FieldSet.) | |
Get(Int32, StringBuilder) |
Gets the field value as string and appends it to the given StringBuilder instance.
(Inherited from FieldSet.) | |
GetByteArray |
Returns the field value as a byte array if it is present or null value otherwise.
(Inherited from FieldSet.) | |
GetChar |
Returns the field value as char if it is present or null value otherwise.
(Inherited from FieldSet.) | |
GetDecimal |
Returns the field value as a Decimal number.
(Inherited from FieldSet.) | |
GetDouble |
Returns the field value as a double-precision floating point number.
(Inherited from FieldSet.) | |
GetEnumerator | Returns fields enumerator. (Inherited from FieldSet.) | |
GetFlag | Returns the flag value. (Inherited from FieldSet.) | |
GetGroup(Int32) |
Returns the repeating group.
(Inherited from FieldSet.) | |
GetGroup(Int32, Group) |
Updates the given instance to refer to the requested group.
(Inherited from FieldSet.) | |
GetGroupInstance |
Returns the repeating group entry.
(Inherited from FieldSet.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetHighResolutionTimeSpan |
Returns the field value as a high-resolution TimeSpan.
(Inherited from FieldSet.) | |
GetHighResolutionTimestamp |
Returns the field value as a high-resolution UTC (GMT) Timestamp.
(Inherited from FieldSet.) | |
GetInteger |
Returns the field value as a signed 32-bit (4-byte) integer.
(Inherited from FieldSet.) | |
GetLong |
Returns the field value as a signed 64-bit (8-byte) integer.
(Inherited from FieldSet.) | |
GetTimeSpan |
Returns the field value as a TimeSpan.
(Inherited from FieldSet.) | |
GetTimestamp(Int32) |
Returns the field value as an UTC (GMT) Timestamp.
(Inherited from FieldSet.) | |
GetTimestamp(Int32, TimestampFormat) |
Returns the field value as an UTC (GMT) Timestamp.
(Inherited from FieldSet.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Parse(ArraySegment<Byte>) | Parses the raw FIX message byte array and creates the corresponding class instance. | |
Parse(Byte[]) | Parses the raw FIX message byte array and creates the corresponding class instance. | |
Parse(String) | Parses the raw FIX message string and creates the corresponding class instance. | |
Parse(ArraySegment<Byte>, Dialect) |
Parses the raw FIX message byte array and creates the corresponding class instance.
| |
Parse(ArraySegment<Byte>, MessageParsingFlags) | Parses the raw FIX message byte array and creates the corresponding class instance. | |
Parse(ArraySegment<Byte>, ProtocolVersion) |
Parses the raw FIX message byte array and creates the corresponding class instance.
| |
Parse(Byte[], Dialect) |
Parses the raw FIX message byte array and creates the corresponding class instance.
| |
Parse(Byte[], MessageParsingFlags) | Parses the raw FIX message byte array and creates the corresponding class instance. | |
Parse(Byte[], ProtocolVersion) |
Parses the raw FIX message byte array and creates the corresponding class instance.
| |
Parse(String, Dialect) |
Parses the raw FIX message from string and creates the corresponding class instance.
| |
Parse(String, MessageParsingFlags) | Parses the raw FIX message string and creates the corresponding class instance. | |
Parse(String, ProtocolVersion) |
Parses the raw FIX message from string and creates the corresponding class instance.
| |
Parse(ArraySegment<Byte>, Dialect, MessageParsingFlags) |
Parses the raw FIX message byte array and creates the corresponding class instance.
| |
Parse(ArraySegment<Byte>, ProtocolVersion, MessageParsingFlags) |
Parses the raw FIX message byte array and creates the corresponding class instance.
| |
Parse(Byte[], Dialect, MessageParsingFlags) |
Parses the raw FIX message byte array and creates the corresponding class instance.
| |
Parse(Byte[], ProtocolVersion, MessageParsingFlags) |
Parses the raw FIX message byte array and creates the corresponding class instance.
| |
Parse(String, Dialect, MessageParsingFlags) |
Parses the raw FIX message from string and creates the corresponding class instance.
| |
Parse(String, ProtocolVersion, MessageParsingFlags) |
Parses the raw FIX message from string and creates the corresponding class instance.
| |
Remove |
Removes the field.
(Inherited from FieldSet.) | |
Reset |
Brings the message to the initial state (only major service fields like message type are set).
| |
Set(Int32, ArraySegment<Byte>) |
Sets the field value as a byte array from the array segment. Transforms input value into text-presentation, so actually stored value is text-presentation of input.
(Inherited from FieldSet.) | |
Set(Int32, Boolean) |
Sets the field value as Boolean. Transforms input value into text-presentation, so actually stored value is text-presentation of input.
(Inherited from FieldSet.) | |
Set(Int32, Byte[]) |
Sets the field value as a byte array. Transforms input value into text-presentation, so actually stored value is text-presentation of input.
(Inherited from FieldSet.) | |
Set(Int32, Char) |
Sets the field value as a character. Transforms input value into text-presentation, so actually stored value is text-presentation of input.
(Inherited from FieldSet.) | |
Set(Int32, DateTime) |
Sets the field value as a DateTime object. Transforms input value into text-presentation, so actually stored value is text-presentation of input.
(Inherited from FieldSet.) | |
Set(Int32, Decimal) |
Sets the field value as a Decimal number. Transforms input value into text-presentation, so actually stored value is text-presentation of input.
(Inherited from FieldSet.) | |
Set(Int32, Double) |
Sets the field value as a double-precision floating point number. Transforms input value into text-presentation, so actually stored value is text-presentation of input.
(Inherited from FieldSet.) | |
Set(Int32, Int32) |
Sets the field value as an integer. Transforms input value into text-presentation, so actually stored value is text-presentation of input.
(Inherited from FieldSet.) | |
Set(Int32, Int64) |
Sets the field value as a signed 64-bit (8-byte) integer. Transforms input value into text-presentation, so actually stored value is text-presentation of input.
(Inherited from FieldSet.) | |
Set(Int32, String) |
Sets the field value as string.
(Inherited from FieldSet.) | |
Set(Int32, StringBuilder) |
Sets the field value from the given StringBuilder instance.
(Inherited from FieldSet.) | |
Set(Int32, TimeSpan) |
Sets the field value as a TimeSpan object. Transforms input value into text-presentation, so actually stored value is text-presentation of input.
(Inherited from FieldSet.) | |
Set(Int32, HighResolutionTimeSpan, TimeSpanFormat) |
Sets the field value as a HighResolutionTimeSpan object. Transforms input value into text-presentation with the given format, so actually stored value is text-presentation of input.
(Inherited from FieldSet.) | |
Set(Int32, HighResolutionTimestamp, TimestampFormat) |
Sets the field value as a HighResolutionTimestamp object. Transforms input value into text-presentation with the given format, so actually stored value is text-presentation of input.
(Inherited from FieldSet.) | |
Set(Int32, DateTime, TimestampFormat) |
Sets the field value as a DateTime object. Transforms input value into text-presentation with the given format, so actually stored value is text-presentation of input.
(Inherited from FieldSet.) | |
Set(Int32, Decimal, Int32) |
Sets the field value as a Decimal number. Transforms input value into text-presentation, so actually stored value is text-presentation of input.
(Inherited from FieldSet.) | |
Set(Int32, Double, Int32) |
Sets the field value as a double-precision floating point number. Transforms input value into text-presentation, so actually stored value is text-presentation of input.
(Inherited from FieldSet.) | |
Set(Int32, TimeSpan, TimeSpanFormat) |
Sets the field value as a TimeSpan object. Transforms input value into text-presentation with the given format, so actually stored value is text-presentation of input.
(Inherited from FieldSet.) | |
SetFlag |
Sets the field value as Boolean. Transforms input value into text-presentation, so actually stored value is text-presentation of input.
(Inherited from FieldSet.) | |
SetGroup |
Creates a new repeating group or changes the number of entries in the existing repeating group.
(Inherited from FieldSet.) | |
SetV(Int32, DateTime) |
Sets the field value as it is without transforming it into text-presentation. Assigning field value via SetV methods saves not only value it's type as well, therefore no parsing is performed during subsequent access to the field via typed Get methods.
(Inherited from FieldSet.) | |
SetV(Int32, Decimal) |
Sets the field value as it is without transforming it into text-presentation. Assigning field value via SetV methods saves not only value it's type as well, therefore no parsing is performed during subsequent access to the field via typed Get methods.
(Inherited from FieldSet.) | |
SetV(Int32, Double) |
Sets the field value as it is without transforming it into text-presentation. Assigning field value via SetV methods saves not only value it's type as well, therefore no parsing is performed during subsequent access to the field via typed Get methods.
(Inherited from FieldSet.) | |
SetV(Int32, Int32) |
Sets the field value as it is without transforming it into text-presentation. Assigning field value via SetV methods saves not only value it's type as well, therefore no parsing is performed during subsequent access to the field via typed Get methods.
(Inherited from FieldSet.) | |
SetV(Int32, Int64) |
Sets the field value as it is without transforming it into text-presentation. Assigning field value via SetV methods saves not only value it's type as well, therefore no parsing is performed during subsequent access to the field via typed Get methods.
(Inherited from FieldSet.) | |
SetV(Int32, TimeSpan) |
Sets the field value as it is without transforming it into text-presentation. Assigning field value via SetV methods saves not only value it's type as well, therefore no parsing is performed during subsequent access to the field via typed Get methods.
(Inherited from FieldSet.) | |
SetV(Int32, HighResolutionTimeSpan, TimeSpanFormat) |
Sets the field value with the given format as it is without transforming it into text-presentation. Assigning field value via SetV methods saves not only value it's type as well, therefore no parsing is performed during subsequent access to the field via typed Get methods.
(Inherited from FieldSet.) | |
SetV(Int32, HighResolutionTimestamp, TimestampFormat) |
Sets the field value with the given format as it is without transforming it into text-presentation. Assigning field value via SetV methods saves not only value it's type as well, therefore no parsing is performed during subsequent access to the field via typed Get methods.
(Inherited from FieldSet.) | |
SetV(Int32, DateTime, TimestampFormat) |
Sets the field value with the given format as it is without transforming it into text-presentation. Assigning field value via SetV methods saves not only value it's type as well, therefore no parsing is performed during subsequent access to the field via typed Get methods.
(Inherited from FieldSet.) | |
SetV(Int32, Decimal, Int32) |
Sets the field value as it is without transforming it into text-presentation. Assigning field value via SetV methods saves not only value it's type as well, therefore no parsing is performed during subsequent access to the field via typed Get methods.
(Inherited from FieldSet.) | |
SetV(Int32, Double, Int32) |
Sets the field value as it is without transforming it into text-presentation. Assigning field value via SetV methods saves not only value it's type as well, therefore no parsing is performed during subsequent access to the field via typed Get methods.
(Inherited from FieldSet.) | |
SetV(Int32, TimeSpan, TimeSpanFormat) |
Sets the field value with the given format as it is without transforming it into text-presentation. Assigning field value via SetV methods saves not only value it's type as well, therefore no parsing is performed during subsequent access to the field via typed Get methods.
(Inherited from FieldSet.) | |
ToJson() | Returns the JSON representation of the message. | |
ToJson(String, String) | Returns the JSON representation of the message. | |
ToRawFixString | Returns the message representation as a raw (tag=value) FIX string. | |
ToString() | Returns the <tag>=<value> representation of the message. (Overrides Object.ToString().) | |
ToString(Char) | Returns the <tag>=<value> representation of the message using the given delimiter. | |
ToString(Message.StringFormat, Char) | Returns the string representation of the message in accordance with the specified format. | |
ToXml() | Returns the XML representation of the message. | |
ToXml(String, String) | Returns the XML representation of the message. | |
TryGet(Int32, String) |
Gets the value associated with the specified tag.
(Inherited from FieldSet.) | |
TryGet(Int32, StringBuilder) |
Gets the value associated with the specified tag and appends it to the given StringBuilder instance.
(Inherited from FieldSet.) | |
TryGetByteArray |
Gets the value associated with the specified tag.
(Inherited from FieldSet.) | |
TryGetChar |
Converts the field value to its Unicode character equivalent. A returned value indicates whether the operation succeeded.
(Inherited from FieldSet.) | |
TryGetDecimal |
Gets the value associated with the specified tag.
(Inherited from FieldSet.) | |
TryGetDouble |
Converts the field value to its double-precision floating-point equivalent. A returned value indicates whether the operation succeeded.
(Inherited from FieldSet.) | |
TryGetFlag |
Gets the value associated with the specified tag.
(Inherited from FieldSet.) | |
TryGetGroup |
Extracts the repeating group representation from the message. The return value indicates whether the operation succeeded.
(Inherited from FieldSet.) | |
TryGetHighResolutionTimeSpan |
Gets the value with the given format associated with the specified tag.
(Inherited from FieldSet.) | |
TryGetHighResolutionTimestamp |
Gets the value with the given format associated with the specified tag.
(Inherited from FieldSet.) | |
TryGetInteger |
Converts the field value to its 32-bit signed integer equivalent. A returned value indicates whether the operation succeeded.
(Inherited from FieldSet.) | |
TryGetLong |
Converts the field value to its 64-bit signed integer equivalent. A returned value indicates whether the operation succeeded.
(Inherited from FieldSet.) | |
TryGetTimeSpan(Int32, TimeSpan) |
Gets the value associated with the specified tag.
(Inherited from FieldSet.) | |
TryGetTimeSpan(Int32, TimeSpanFormat, TimeSpan) |
Gets the value with the given format associated with the specified tag.
(Inherited from FieldSet.) | |
TryGetTimestamp(Int32, DateTime) |
Gets the value associated with the specified tag.
(Inherited from FieldSet.) | |
TryGetTimestamp(Int32, TimestampFormat, DateTime) |
Gets the value with the given format associated with the specified tag.
(Inherited from FieldSet.) | |
UpdateBodyLengthAndCheckSum | Calculates the message body length and checkSum and updates corresponding fields | |
Validate() | Performs the message validation. Please note that the method validates required fields for the application level only, without header/trailer | |
Validate(MessageValidationFlags) | Performs the message validation according to specified criteria. Please note that the method validates required fields for the application level only, without header/trailer |