Class AbstractFixSessionFactory
This is abstract implementation of FixSessionFactory.
This class provides the base functionality for creates initiator and acceptor session,
and configurations it listeners. The user implementation should override GetMessageFactory()
method.
Inheritance
System.Object
AbstractFixSessionFactory
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()
Assembly: FixAntenna.Core.dll
Syntax
public abstract class AbstractFixSessionFactory : SecureFixSessionFactory, IFixSessionFactory
Fields
SystemMessagehandler0
Declaration
public const string SystemMessagehandler0 = "system.messagehandler.0"
Field Value
Type |
Description |
System.String |
|
SystemMessagehandler1
Declaration
public const string SystemMessagehandler1 = "system.messagehandler.1"
Field Value
Type |
Description |
System.String |
|
SystemMessagehandler2
Declaration
public const string SystemMessagehandler2 = "system.messagehandler.2"
Field Value
Type |
Description |
System.String |
|
SystemMessagehandler3
Declaration
public const string SystemMessagehandler3 = "system.messagehandler.3"
Field Value
Type |
Description |
System.String |
|
SystemMessagehandler4
Declaration
public const string SystemMessagehandler4 = "system.messagehandler.4"
Field Value
Type |
Description |
System.String |
|
SystemMessagehandler5
Declaration
public const string SystemMessagehandler5 = "system.messagehandler.5"
Field Value
Type |
Description |
System.String |
|
SystemMessagehandlerA
Declaration
public const string SystemMessagehandlerA = "system.messagehandler.A"
Field Value
Type |
Description |
System.String |
|
SystemMessagehandlerGlobal
Declaration
public const string SystemMessagehandlerGlobal = "system.messagehandler.global."
Field Value
Type |
Description |
System.String |
|
UserMessagehandlerGlobal
Declaration
public const string UserMessagehandlerGlobal = "user.messagehandler.global."
Field Value
Type |
Description |
System.String |
|
Methods
CreateAcceptorSession(SessionParameters)
Creates the acceptor session.
Declaration
public override IFixSession CreateAcceptorSession(SessionParameters details)
Parameters
Returns
Overrides
Exceptions
Type |
Condition |
System.IO.IOException |
if the session cannot be created
|
CreateAcceptorSession(SessionParameters, IFixTransport)
Creates the acceptor session.
Declaration
public override IFixSession CreateAcceptorSession(SessionParameters details, IFixTransport transport)
Parameters
Returns
Overrides
Exceptions
Type |
Condition |
System.IO.IOException |
if the session cannot be created
|
CreateInitiatorSession(SessionParameters)
Declaration
public override IFixSession CreateInitiatorSession(SessionParameters details)
Parameters
Returns
Overrides
GetAcceptorSession(SessionParameters, IFixTransport, HandlerChain)
Declaration
public virtual IExtendedFixSession GetAcceptorSession(SessionParameters details, IFixTransport transport, HandlerChain chain)
Parameters
Returns
GetFixVersion()
Declaration
public virtual FixVersion GetFixVersion()
Returns
GetInitiatorSession(SessionParameters, HandlerChain)
Declaration
public virtual IExtendedFixSession GetInitiatorSession(SessionParameters details, HandlerChain chain)
Parameters
Returns
GetMessageFactory()
Declaration
public abstract IFixMessageFactory GetMessageFactory()
Returns
SetFixVersion(FixVersion)
Declaration
public virtual void SetFixVersion(FixVersion fixVersion)
Parameters
Type |
Name |
Description |
FixVersion |
fixVersion |
the fix version
|
SetGlobalMessageHandlers(HandlerChain, SessionParameters)
Declaration
public virtual void SetGlobalMessageHandlers(HandlerChain chain, SessionParameters details)
Parameters
SetGlobalSystemHandlers(HandlerChain, SessionParameters)
Declaration
public virtual void SetGlobalSystemHandlers(HandlerChain chain, SessionParameters details)
Parameters
SetSessionLevelMessageHandlers(HandlerChain, SessionParameters)
Declaration
public virtual void SetSessionLevelMessageHandlers(HandlerChain chain, SessionParameters details)
Parameters
Implements
See Also