Class SessionStatusCheckerThread
Checks the session status after specific timeout, if the session state is the same disconnect the session with specific reason.
Inheritance
System.Object
SessionStatusCheckerThread
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.Session.Util
Assembly: FixAntenna.Core.dll
Syntax
public class SessionStatusCheckerThread
Constructors
SessionStatusCheckerThread(IExtendedFixSession, Int32, SessionState, String, Boolean)
Creates the SessionStatusCheckerThread
.
Declaration
public SessionStatusCheckerThread(IExtendedFixSession session, int timeout, SessionState state, string reason, bool notifyErrorHandler = true)
Parameters
Type | Name | Description |
---|---|---|
IExtendedFixSession | session | the monitored session |
System.Int32 | timeout | the time to wait before close the session |
SessionState | state | the initial session state |
System.String | reason | the closed reason if session will be closed |
System.Boolean | notifyErrorHandler | if sets to true the session error handler will be notify with error level and reason message. |
Methods
Start()
Declaration
public void Start()