Class AbstractSessionMessageHandler
The abstract session message handler
Inheritance
System.Object
AbstractSessionMessageHandler
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.MessageHandler
Assembly: FixAntenna.Core.dll
Syntax
public abstract class AbstractSessionMessageHandler : ISessionMessageHandler, IFixMessageListener
Constructors
AbstractSessionMessageHandler()
Declaration
public AbstractSessionMessageHandler()
Fields
Log
Declaration
protected readonly ILog Log
Field Value
Type | Description |
---|---|
ILog |
LogIsTraceEnabled
Declaration
public bool LogIsTraceEnabled
Field Value
Type | Description |
---|---|
System.Boolean |
Methods
GetFixSession()
Declaration
public virtual IExtendedFixSession GetFixSession()
Returns
Type | Description |
---|---|
IExtendedFixSession |
LogErrorToSession(String, Exception)
Declaration
public virtual void LogErrorToSession(string description, Exception throwable)
Parameters
Type | Name | Description |
---|---|---|
System.String | description | |
System.Exception | throwable |
LogWarnToSession(String, Exception)
Declaration
public virtual void LogWarnToSession(string description, Exception throwable)
Parameters
Type | Name | Description |
---|---|---|
System.String | description | |
System.Exception | throwable |
OnNewMessage(FixMessage)
This method is invoked every time when FIX Engine receives application message.
Declaration
public abstract void OnNewMessage(FixMessage message)
Parameters
Type | Name | Description |
---|---|---|
FixMessage | message | the incoming message |
SetFixSession(IExtendedFixSession)
Sets the extended fix session.
Declaration
public virtual void SetFixSession(IExtendedFixSession fixSession)
Parameters
Type | Name | Description |
---|---|---|
IExtendedFixSession | fixSession | the extended fix session |