Class AutoreconnectFixSession
Inheritance
System.Object
AutoreconnectFixSession
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: FixAntenna.FixEngine.Session
Assembly: FixAntenna.Core.dll
Syntax
public class AutoreconnectFixSession : InitiatorFixSession, IExtendedFixSession, IFixSession, ISessionStateListenSupport, IBackupFixSession
Constructors
AutoreconnectFixSession(IFixMessageFactory, SessionParameters, HandlerChain)
Declaration
public AutoreconnectFixSession(IFixMessageFactory factory, SessionParameters sessionParameters, HandlerChain fixSessionListener)
Parameters
Type | Name | Description |
---|---|---|
IFixMessageFactory | factory | |
SessionParameters | sessionParameters | |
HandlerChain | fixSessionListener |
Fields
NoAutoreconnect
Declaration
protected static readonly int NoAutoreconnect
Field Value
Type | Description |
---|---|
System.Int32 |
Methods
ConnectInternal()
Declaration
public override void ConnectInternal()
Overrides
Disconnect(DisconnectReason, String, Boolean, Boolean, Boolean)
Declaration
public override void Disconnect(DisconnectReason reasonType, string reasonDescription, bool isGracefull, bool isForced, bool continueReading)
Parameters
Type | Name | Description |
---|---|---|
DisconnectReason | reasonType | |
System.String | reasonDescription | |
System.Boolean | isGracefull | |
System.Boolean | isForced | |
System.Boolean | continueReading |
Overrides
InitTransport()
Declaration
public override void InitTransport()
Overrides
IsRunningOnBackup()
Returns true, if session connected to backup host.
Declaration
public bool IsRunningOnBackup()
Returns
Type | Description |
---|---|
System.Boolean |
SetFixSessionListener(IFixSessionListener)
Sets IFIXSession listener to monitor session status and receive incoming messages.
Declaration
public override void SetFixSessionListener(IFixSessionListener listener)
Parameters
Type | Name | Description |
---|---|---|
IFixSessionListener | listener | the user specified listener |
Overrides
StartSession()
Declaration
public override void StartSession()
Overrides
SwitchToBackUp()
The method, switch current connection to backup.
Declaration
public void SwitchToBackUp()
SwitchToPrimary()
The method, switch current connection to primary.
Declaration
public void SwitchToPrimary()