Class DefaultFixSessionFactoryStrategy
Default fix session factory strategy implementation. This class provides access to FIX 4.0 - FIX 5.0 SP2 session factories.
Inheritance
System.Object
DefaultFixSessionFactoryStrategy
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
Assembly: FixAntenna.Core.dll
Syntax
public class DefaultFixSessionFactoryStrategy : IFixSessionFactoryStrategy
Constructors
DefaultFixSessionFactoryStrategy()
Creates the DefaultFixSessionFactoryStrategy
.
Declaration
public DefaultFixSessionFactoryStrategy()
Methods
GetFixSessionFactory(SessionParameters)
Gets fix session factory.
Declaration
public virtual IFixSessionFactory GetFixSessionFactory(SessionParameters sessionParameters)
Parameters
Type | Name | Description |
---|---|---|
SessionParameters | sessionParameters | the session parameters |
Returns
Type | Description |
---|---|
IFixSessionFactory | FixSessionFactory |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | if session factory not exists. |
SetAppVersionFactory(FixVersion, IFixSessionFactory)
Sets a new session factory for appVersion.
Declaration
public virtual void SetAppVersionFactory(FixVersion appVersion, IFixSessionFactory fixSessionFactory)
Parameters
Type | Name | Description |
---|---|---|
FixVersion | appVersion | the app fix version |
IFixSessionFactory | fixSessionFactory | the fix session factory |
SetFixVersionFactory(FixVersion, IFixSessionFactory)
Sets a new session factory for fixVersion.
Declaration
public virtual void SetFixVersionFactory(FixVersion fixVersion, IFixSessionFactory fixSessionFactory)
Parameters
Type | Name | Description |
---|---|---|
FixVersion | fixVersion | the fix version |
IFixSessionFactory | fixSessionFactory | the fix session factory |