Interface IFixSessionFactory
IFixSessionFactory
defines session level behaviour and other FIXEngine parameters.
Namespace: FixAntenna.FixEngine
Assembly: FixAntenna.Core.dll
Syntax
public interface IFixSessionFactory
Methods
CreateAcceptorSession(SessionParameters)
Creates the acceptor session.
Declaration
IFixSession CreateAcceptorSession(SessionParameters sessionParameters)
Parameters
Type | Name | Description |
---|---|---|
SessionParameters | sessionParameters | the session configuration |
Returns
Type | Description |
---|---|
IFixSession | the fix session |
Exceptions
Type | Condition |
---|---|
System.IO.IOException | if the session cannot be created |
CreateAcceptorSession(SessionParameters, IFixTransport)
Creates the acceptor session.
Declaration
IFixSession CreateAcceptorSession(SessionParameters sessionParameters, IFixTransport transport)
Parameters
Type | Name | Description |
---|---|---|
SessionParameters | sessionParameters | the session configuration |
IFixTransport | transport | the fix transport |
Returns
Type | Description |
---|---|
IFixSession | the fix session |
Exceptions
Type | Condition |
---|---|
System.IO.IOException | if the session cannot be created |
CreateInitiatorSession(SessionParameters)
Creates the initiator session.
Declaration
IFixSession CreateInitiatorSession(SessionParameters sessionParameters)
Parameters
Type | Name | Description |
---|---|---|
SessionParameters | sessionParameters | the session configuration |
Returns
Type | Description |
---|---|
IFixSession | the fix session |
Exceptions
Type | Condition |
---|---|
System.IO.IOException | if the session cannot be created |