• Programming Guide
  • Api Documentation
  • OnixS .NET Core / .NET 6 FIX Engine, version 1.9.0
Show / Hide Table of Contents
  • OnixS.Fix
    • ByteBuffer
    • BytesReceivedEventHandler
    • CertificateValidationArgs
    • Dictionary
    • EncryptionMethod
    • Engine
    • Engine.State
    • EngineErrorEventArgs
    • EngineErrorReason
    • EngineException
    • EngineSettings
    • EngineSettings.Default
    • EngineSettings.Key
    • EngineSslSettings
    • EngineWarningEventArgs
    • EngineWarningReason
    • Field
    • FieldSet
    • FieldSet.FieldEnumerator
    • FixStringFormat
    • FlatGroupReader
    • FlatMessage
    • FlatMessage.FieldIterator
    • Group
    • Group.GroupInstanceEnumerator
    • GroupInstance
    • HighResolutionTimeSpan
    • HighResolutionTimestamp
    • IFieldSet
    • IMessage
    • InboundMessageEventArgs
    • IncomingTelecommunicationLinkEventArgs
    • ISession
    • ITimestampProvider
    • KnownSerializedFieldKeys
    • Message
    • MessageEventArgs
    • MessageMemoryPool
    • MessageMemoryPoolSettings
    • MessageMode
    • MessageResendingEventArgs
    • MessageSendingEventArgs
    • MessageValidationFlags
    • PortRange
    • ProtocolVersion
    • ProtocolVersionExtensions
    • ProtocolVersionHelper
    • ProxySettings
    • ProxyType
    • RemoteCertificateNameMismatchOption
    • RemoteCertificateValidationCallback
    • SerializedFieldKey
    • SerializedFieldRef
    • SerializedMessage
    • Session
    • SessionErrorEventArgs
    • SessionErrorReason
    • SessionId
    • SessionRole
    • SessionState
    • SessionStateChangeEventArgs
    • SessionStorageType
    • SessionWarningEventArgs
    • SessionWarningReason
    • SslSettings
    • TimeSpanFormat
    • TimestampFormat
    • UnknownIncomingConnectionEventArgs
  • OnixS.Fix.Dictionaries
    • DictionaryException
    • DictionaryManager
    • FieldContainerInfo
    • FieldInfo
    • FieldType
    • FieldTypeInfo
    • FieldValueInfo
    • MessageInfo
    • MessageInfoExtensions
  • OnixS.Fix.Exceptions
    • CannotEstablishLinkException
    • EmptyGroupException
    • EngineAlreadyInitializedException
    • EngineIsNotInitializedException
    • FirstMessageNotLogonException
    • IncorrectCheckSumException
    • IncorrectFieldValueException
    • IndexNotFoundException
    • InstanceIndexOutOfRangeException
    • InvalidInboundLogonException
    • InvalidMsgTypeException
    • InvalidNumberOfRepeatingGroupInstances
    • LicenseException
    • LicenseExpiredException
    • LicenseNotFoundException
    • LinkErrorException
    • LogonReplyException
    • LogonReplyTimeoutException
    • LogoutReplyTimeoutException
    • ParserException
    • ParserException.RejectReason
    • RequiredTagMissingException
    • SessionException
    • StorageException
    • TagNotDefinedForThisMessageTypeException
    • TagNotFoundException
    • TagSpecifiedOutOfRequiredOrderException
    • TagSpecifiedWithoutValueException
    • UnexpectedSequenceNumberException
  • OnixS.Fix.Fast
    • Coder
    • DecodedValue<T>
    • Decoder
    • DecodeResult
    • DecoderExtension
    • DictionaryBuilder
    • DynamicErrorException
    • DynamicErrorException.ErrorCode
    • Encoder
    • FastErrorCode
    • FastException
    • FixMessageFactory
    • NotEnoughInputDataException
    • StaticErrorException
    • StaticErrorException.ErrorCode
  • OnixS.Fix.Fix2FixmlConverter
    • FixmlConverter
    • FixmlConverterException
  • OnixS.Fix.Properties
    • Resources
  • OnixS.Fix.Scheduling
    • AcceptorConnectionSettings
    • CounterpartySettings
    • InitiatorConnectingEventArgs
    • InitiatorConnectionSettings
    • Scheduler
    • SequenceNumberResetPolicy
    • SessionConnectionSettings
    • SessionDuration
    • SessionErrorEventArgs
    • SessionEventArgs
    • SessionLoggingOutEventArgs
    • SessionSchedule
    • SessionWarningEventArgs
  • OnixS.Fix.Storage
    • ISessionStorage

Interface IMessage

Generic FIX Message.

Inherited Members
IFieldSet.GetFields()
IFieldSet.Remove(Int32)
IFieldSet.IsAbsentOrEmpty(Int32)
IFieldSet.Contains(Int32)
IFieldSet.Contains(Int32, Boolean)
IFieldSet.GetChar(Int32)
IFieldSet.TryGetChar(Int32, Char)
IFieldSet.GetInteger(Int32)
IFieldSet.TryGetInteger(Int32, Int32)
IFieldSet.Set(Int32, Int32)
IFieldSet.GetLong(Int32)
IFieldSet.TryGetLong(Int32, Int64)
IFieldSet.Set(Int32, Int64)
IFieldSet.Set(Int32, Char)
IFieldSet.Set(Int32, Double)
IFieldSet.Set(Int32, Double, Int32)
IFieldSet.GetDouble(Int32)
IFieldSet.TryGetDouble(Int32, Double)
IFieldSet.GetDecimal(Int32)
IFieldSet.TryGetDecimal(Int32, Decimal)
IFieldSet.Set(Int32, Decimal)
IFieldSet.Set(Int32, Decimal, Int32)
IFieldSet.GetTimestamp(Int32)
IFieldSet.GetTimestamp(Int32, TimestampFormat)
IFieldSet.GetHighResolutionTimestamp(Int32)
IFieldSet.GetHighResolutionTimestamp(Int32, TimestampFormat)
IFieldSet.GetTimeSpan(Int32)
IFieldSet.GetTimeSpan(Int32, TimeSpanFormat)
IFieldSet.GetHighResolutionTimeSpan(Int32)
IFieldSet.GetHighResolutionTimeSpan(Int32, TimeSpanFormat)
IFieldSet.TryGetTimestamp(Int32, DateTime)
IFieldSet.TryGetTimestamp(Int32, DateTime, TimestampFormat)
IFieldSet.TryGetHighResolutionTimestamp(Int32, HighResolutionTimestamp)
IFieldSet.TryGetHighResolutionTimestamp(Int32, HighResolutionTimestamp, TimestampFormat)
IFieldSet.TryGetTimeSpan(Int32, TimeSpan)
IFieldSet.TryGetTimeSpan(Int32, TimeSpan, TimeSpanFormat)
IFieldSet.TryGetHighResolutionTimeSpan(Int32, HighResolutionTimeSpan)
IFieldSet.TryGetHighResolutionTimeSpan(Int32, HighResolutionTimeSpan, TimeSpanFormat)
IFieldSet.Set(Int32, DateTime)
IFieldSet.Set(Int32, DateTime, TimestampFormat)
IFieldSet.Set(Int32, HighResolutionTimestamp)
IFieldSet.Set(Int32, HighResolutionTimestamp, TimestampFormat)
IFieldSet.Set(Int32, TimeSpan)
IFieldSet.Set(Int32, TimeSpan, TimeSpanFormat)
IFieldSet.Set(Int32, HighResolutionTimeSpan)
IFieldSet.Set(Int32, HighResolutionTimeSpan, TimeSpanFormat)
IFieldSet.Item[Int32]
IFieldSet.Get(Int32)
IFieldSet.TryGet(Int32, String)
IFieldSet.Set(Int32, String)
IFieldSet.Get(Int32, StringBuilder)
IFieldSet.TryGet(Int32, StringBuilder)
IFieldSet.Set(Int32, StringBuilder)
IFieldSet.GetSpan(Int32)
IFieldSet.TryGetSpan(Int32, ReadOnlySpan<Byte>)
IFieldSet.Set(Int32, ReadOnlySpan<Byte>)
IFieldSet.GetBytes(Int32)
IFieldSet.TryGetBytes(Int32, Byte[])
IFieldSet.Set(Int32, Byte[])
IFieldSet.Set(Int32, Byte[], Int32, Int32)
IFieldSet.GetFlag(Int32)
IFieldSet.TryGetFlag(Int32, Boolean)
IFieldSet.SetFlag(Int32, Boolean)
IFieldSet.Set(Int32, Boolean)
IFieldSet.HasGroup(Int32)
IFieldSet.GetGroup(Int32)
IFieldSet.TryGetGroup(Int32, Group)
IFieldSet.SetGroup(Int32, Int32)
IFieldSet.NumberOfGroups
IFieldSet.FieldCount
IFieldSet.ToString(Char, FixStringFormat)
IFieldSet.GetGroupsEnumerator()
IFieldSet.CompareFieldValue(Int32, String)
IEnumerable<Field>.GetEnumerator()
Namespace: OnixS.Fix
Assembly: OnixS.Fix.Engine.dll
Syntax
public interface IMessage : IFieldSet, IEnumerable<Field>, IEnumerable

Properties

IsFlatMessage

Returns true if this is a FlatMessage instance, otherwise - false.

Declaration
bool IsFlatMessage { get; }
Property Value
Type Description
Boolean

true if this is a FlatMessage instance, otherwise - false

SenderCompId

The SenderCompID (tag 49) field value.

Declaration
string SenderCompId { get; }
Property Value
Type Description
String

SenderCompID (tag 49) field value

SeqNum

Message sequence number - the MsgSeqNum (tag 34) field value.

Declaration
int SeqNum { get; set; }
Property Value
Type Description
Int32

Message sequence number

TargetCompId

The TargetCompID (tag 56) field.

Declaration
string TargetCompId { get; }
Property Value
Type Description
String

TargetCompID (tag 56) field value

Type

Message type - the MsgType (tag 35) field value.

Declaration
string Type { get; }
Property Value
Type Description
String

Message type

Version

FIX Protocol version.

Declaration
ProtocolVersion Version { get; }
Property Value
Type Description
ProtocolVersion

FIX Protocol version

Methods

Clone()

Declaration
IMessage Clone()
Returns
Type Description
IMessage

CompareType(Char)

Returns true if the message type value is equal to the given char value, otherwise it returns false. The method can help to write GC-free code.

Declaration
bool CompareType(char type)
Parameters
Type Name Description
Char type

Message type to compare

Returns
Type Description
Boolean

True if the message type value is equal to the given string value

CompareType(String)

Returns true if the message type value is equal to the given string value, otherwise it returns false. The method can help to write GC-free code.

Declaration
bool CompareType(string type)
Parameters
Type Name Description
String type

Message type to compare

Returns
Type Description
Boolean

True if the message type value is equal to the given string value

GetStructuredMessage(Dictionary, MessageValidationFlags)

Returns the Message instance create from the given FlatMessage.

Declaration
Message GetStructuredMessage(Dictionary dictionary, MessageValidationFlags parsingFlags)
Parameters
Type Name Description
Dictionary dictionary

Dictionary to be used during the Message creation

MessageValidationFlags parsingFlags

Parsing flags

Returns
Type Description
Message

Message instance

IsSessionLevel()

Returns true if this is a session-level message, otherwise - false.

Declaration
bool IsSessionLevel()
Returns
Type Description
Boolean

true if this is a session-level message, otherwise - false

ToRawFixString()

Returns string representation of the message. This method will re-calculate the BodyLength and Checksum according to the message.

Declaration
string ToRawFixString()
Returns
Type Description
String

string representation of the message

In This Article
Back to top Copyright © Onix Solutions.
Generated by DocFX