Class FixConnectionHandler
Inheritance
System.Object
FixConnectionHandler
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 FixConnectionHandler : IConnectionHandler, IConnectionListener
Constructors
FixConnectionHandler(SessionAcceptorStrategyHandler, ISessionTransportFactory)
Declaration
public FixConnectionHandler(SessionAcceptorStrategyHandler acceptorStrategyHandler, ISessionTransportFactory transportFactory)
Parameters
Type | Name | Description |
---|---|---|
SessionAcceptorStrategyHandler | acceptorStrategyHandler | |
ISessionTransportFactory | transportFactory |
Methods
Dispose()
Declaration
public virtual void Dispose()
GetRegisterAcceptorSession()
Declaration
public virtual IList<SessionParameters> GetRegisterAcceptorSession()
Returns
Type | Description |
---|---|
System.Collections.Generic.IList<SessionParameters> |
OnConnect(ITransport)
Invoked when a new connection occurred.
Declaration
public virtual void OnConnect(ITransport transport)
Parameters
Type | Name | Description |
---|---|---|
ITransport | transport | the transport |
RegisterAcceptorSession(SessionParameters)
Declaration
public virtual void RegisterAcceptorSession(SessionParameters sessionParameters)
Parameters
Type | Name | Description |
---|---|---|
SessionParameters | sessionParameters |
SetConfiguredSessionRegister(IConfiguredSessionRegister)
Declaration
public virtual void SetConfiguredSessionRegister(IConfiguredSessionRegister configuredSessionRegister)
Parameters
Type | Name | Description |
---|---|---|
IConfiguredSessionRegister | configuredSessionRegister |
SetFixServerListener(IFixServerListener)
Declaration
public virtual void SetFixServerListener(IFixServerListener listener)
Parameters
Type | Name | Description |
---|---|---|
IFixServerListener | listener |
SetTimeout(Int32)
Declaration
public virtual void SetTimeout(int timeout)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | timeout |
UnregisterAcceptorSession(SessionParameters)
Declaration
public virtual void UnregisterAcceptorSession(SessionParameters sessionParameters)
Parameters
Type | Name | Description |
---|---|---|
SessionParameters | sessionParameters |