Class LogonMessageWaiter
Util class for handle first message during logon process.
Inheritance
System.Object
LogonMessageWaiter
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
Assembly: FixAntenna.Core.dll
Syntax
public class LogonMessageWaiter
Constructors
LogonMessageWaiter(IFixTransport, Int32, FixMessage)
Declaration
public LogonMessageWaiter(IFixTransport fixTransport, int timeToWait, FixMessage logon)
Parameters
Type | Name | Description |
---|---|---|
IFixTransport | fixTransport | |
System.Int32 | timeToWait | |
FixMessage | logon |
Methods
GetReadMessageTimeTicks()
Declaration
public long GetReadMessageTimeTicks()
Returns
Type | Description |
---|---|
System.Int64 |
IsLogonReceived()
Method starts the thread and wait for first message during specified time.
Declaration
public bool IsLogonReceived()
Returns
Type | Description |
---|---|
System.Boolean | true if logon received |
Exceptions
Type | Condition |
---|---|
System.Threading.ThreadInterruptedException | if thread is interrupted |