Class AcceptorFixSession
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 sealed class AcceptorFixSession : AbstractFixSession, IExtendedFixSession, IFixSession, ISessionStateListenSupport
Constructors
AcceptorFixSession(IFixMessageFactory, SessionParameters, HandlerChain, IFixTransport)
Declaration
public AcceptorFixSession(IFixMessageFactory messageFactory, SessionParameters sessionParameters, HandlerChain fixSessionListener, IFixTransport transport)
Parameters
Type | Name | Description |
---|---|---|
IFixMessageFactory | messageFactory | |
SessionParameters | sessionParameters | |
HandlerChain | fixSessionListener | |
IFixTransport | transport |
Methods
Connect()
Connects to remote counterparty, if initiator or accepts incoming connection if acceptor.
Declaration
public override void Connect()
Overrides
Exceptions
Type | Condition |
---|---|
System.IO.IOException | I/O exception if error occurred |
GetAndRemoveAttribute(String)
Declaration
public override object GetAndRemoveAttribute(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key |
Returns
Type | Description |
---|---|
System.Object |
Overrides
GetSessionParameters()
The returned value is cloned.
Declaration
public override SessionParameters GetSessionParameters()
Returns
Type | Description |
---|---|
SessionParameters |
Overrides
See Also
IsResetSeqNumFlagRequiredForInitLogon()
Declaration
public override bool IsResetSeqNumFlagRequiredForInitLogon()
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
ReinitSession(SessionParameters, IFixTransport)
Declaration
public void ReinitSession(SessionParameters inSessionParameters, IFixTransport transport)
Parameters
Type | Name | Description |
---|---|---|
SessionParameters | inSessionParameters | |
IFixTransport | transport |
Reject(String)
Reject incoming connection for acceptor.
Not applicable for initiator.
Declaration
public override void Reject(string reason)
Parameters
Type | Name | Description |
---|---|---|
System.String | reason |
Overrides
Exceptions
Type | Condition |
---|---|
System.IO.IOException | I/O exception if error occurred |
UpdateSessionParameters(SessionParameters, SessionParameters)
Declaration
public void UpdateSessionParameters(SessionParameters newParams, SessionParameters oldParams)
Parameters
Type | Name | Description |
---|---|---|
SessionParameters | newParams | |
SessionParameters | oldParams |