Class AutostartAcceptorSessions
This is helper class, provides functionality to checks if session is autostart. User can't configure the startup sessions in engine.properties or default.properties files.
Inheritance
System.Object
AutostartAcceptorSessions
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.Acceptor.AutoStart
Assembly: FixAntenna.Core.dll
Syntax
public class AutostartAcceptorSessions
Constructors
AutostartAcceptorSessions(Config, IConfiguredSessionRegister)
Creates the AutostartAcceptorSessions
.
Declaration
public AutostartAcceptorSessions(Config config, IConfiguredSessionRegister configuredSessionRegister)
Parameters
Type | Name | Description |
---|---|---|
Config | config | |
IConfiguredSessionRegister | configuredSessionRegister |
Fields
ConfiguredSessionRegister
Declaration
protected IConfiguredSessionRegister ConfiguredSessionRegister
Field Value
Type | Description |
---|---|
IConfiguredSessionRegister |
Map
Declaration
protected readonly IDictionary<string, AutostartAcceptorSessions.AutostartSessionDetails> Map
Field Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, AutostartAcceptorSessions.AutostartSessionDetails> |
Prefix
Declaration
protected const string Prefix = "autostart.acceptor"
Field Value
Type | Description |
---|---|
System.String |
Methods
GetFixServerListener(SessionParameters)
Gets the fix session listener.
Declaration
public virtual IFixServerListener GetFixServerListener(SessionParameters sessionParameters)
Parameters
Type | Name | Description |
---|---|---|
SessionParameters | sessionParameters | the session parameters |
Returns
Type | Description |
---|---|
IFixServerListener |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | if session listener can't be created. |
GetSessionDetails(SessionParameters)
Declaration
public virtual AutostartAcceptorSessions.AutostartSessionDetails GetSessionDetails(SessionParameters sessionParameters)
Parameters
Type | Name | Description |
---|---|---|
SessionParameters | sessionParameters |
Returns
Type | Description |
---|---|
AutostartAcceptorSessions.AutostartSessionDetails |
IsAcceptedAdminSession(SessionParameters)
Declaration
public virtual bool IsAcceptedAdminSession(SessionParameters sessionParameters)
Parameters
Type | Name | Description |
---|---|---|
SessionParameters | sessionParameters |
Returns
Type | Description |
---|---|
System.Boolean |
IsAdminSession(SessionParameters)
Declaration
public virtual bool IsAdminSession(SessionParameters sessionParameters)
Parameters
Type | Name | Description |
---|---|---|
SessionParameters | sessionParameters |
Returns
Type | Description |
---|---|
System.Boolean |
IsAutostartSession(SessionParameters)
Checks if session is startup.
Declaration
public virtual bool IsAutostartSession(SessionParameters sessionParameters)
Parameters
Type | Name | Description |
---|---|---|
SessionParameters | sessionParameters | the session parameters |
Returns
Type | Description |
---|---|
System.Boolean | true if it is |