Class FixServerChannel
- Namespace
- StockSharp.Server.Fix
- Assembly
- StockSharp.Server.Fix.dll
FixServer in-memory channel.
public class FixServerChannel : IMessageChannel, IDisposable, ICloneable<IMessageChannel>, ICloneable
- Inheritance
-
FixServerChannel
- Implements
-
ICloneable<IMessageChannel>
- Inherited Members
- Extension Methods
Constructors
FixServerChannel(FixServer, IMessageChannel, IMessageChannel)
Initializes a new instance of the FixServerChannel.
public FixServerChannel(FixServer server, IMessageChannel inChannel = null, IMessageChannel outChannel = null)
Parameters
server
FixServerFIX server.
inChannel
IMessageChannelIncoming messages channel.
outChannel
IMessageChannelOutgoing messages channel.
Properties
Server
FIX server.
public FixServer Server { get; }
Property Value
State
State.
public ChannelStates State { get; }
Property Value
Methods
Clear()
Clear.
public void Clear()
Close()
Close channel.
public virtual void Close()
Open()
Open channel.
public virtual void Open()
Resume()
Resume.
public void Resume()
SendInMessage(Message)
Send message.
public virtual bool SendInMessage(Message message)
Parameters
message
MessageMessage.
Returns
Suspend()
Suspend.
public void Suspend()
Events
NewOutMessage
New message event.
public event Action<IMessageListenerSession, Message> NewOutMessage
Event Type
StateChanged
State change event.
public event Action StateChanged