Class UnexpectedSequenceNumberException
Received message with an unexpected sequence number.
Implements
Inherited Members
Namespace: OnixS.Fix.Exceptions
Assembly: OnixS.Fix.Engine.dll
Syntax
public class UnexpectedSequenceNumberException : SessionException, ISerializable
Constructors
UnexpectedSequenceNumberException(IMessage, string, int, int)
Constructor.
Declaration
public UnexpectedSequenceNumberException(IMessage receivedMessage, string rejectReason, int actualSeqNum, int expectedSeqNum)
Parameters
Type | Name | Description |
---|---|---|
IMessage | receivedMessage | |
string | rejectReason | incorrect sequence number details. |
int | actualSeqNum | actual sequence number. |
int | expectedSeqNum | expected sequence number. |
Properties
ActualSeqNum
Return actual sequence number.
Declaration
public int ActualSeqNum { get; }
Property Value
Type | Description |
---|---|
int | actual sequence number. |
ExpectedSeqNum
Return expected sequence number.
Declaration
public int ExpectedSeqNum { get; }
Property Value
Type | Description |
---|---|
int | expected sequence number. |
ReceivedMessage
Declaration
public IMessage ReceivedMessage { get; }
Property Value
Type | Description |
---|---|
IMessage |