Class Fix40MessageFactory
The FIX 4.0 message factory implementation.
Inheritance
System.Object
Fix40MessageFactory
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FixAntenna.FixEngine.Session.Impl
Assembly: FixAntenna.Core.dll
Syntax
public class Fix40MessageFactory : StandardMessageFactory, IFixMessageFactory
Constructors
Fix40MessageFactory()
Creates the FIX40MessageFactory
.
Declaration
public Fix40MessageFactory()
Methods
GetEndSequenceNumber()
Get for current fix version the maximum sequence number.
Declaration
public override long GetEndSequenceNumber()
Returns
Type | Description |
---|---|
System.Int64 | sequence number |
Overrides
GetRejectForMessageTag(FixMessage, Int32, Int32, String)
Creates reject message.
Declaration
public override FixMessage GetRejectForMessageTag(FixMessage rejectMessage, int refTagId, int rejectReason, string rejectText)
Parameters
Type | Name | Description |
---|---|---|
FixMessage | rejectMessage | the rejected message |
System.Int32 | refTagId | the reference tag |
System.Int32 | rejectReason | the reject reason |
System.String | rejectText | the reject text |
Returns
Type | Description |
---|---|
FixMessage |
Overrides
SetSessionParameters(SessionParameters)
Setter for session parameters used to construct message headers.
Declaration
public override void SetSessionParameters(SessionParameters sessionParameters)
Parameters
Type | Name | Description |
---|---|---|
SessionParameters | sessionParameters | the session parameters |