Class HydraServer
- Namespace
- StockSharp.Hydra.Core.Server
- Assembly
- StockSharp.Hydra.Core.dll
Hydra server.
public class HydraServer : BaseLogReceiver, IPersistable, ILogReceiver, ILogSource, IDisposable
- Inheritance
-
HydraServer
- Implements
-
IPersistable
- Inherited Members
- Extension Methods
Constructors
HydraServer(Hydra, Func<string, PermissionCredentials>)
Initializes a new instance of the HydraServer.
public HydraServer(Hydra hydra, Func<string, PermissionCredentials> getPermissions)
Parameters
hydra
HydragetPermissions
Func<string, PermissionCredentials>Get permissions handler.
Properties
EmulatorSettings
public MarketEmulatorSettings EmulatorSettings { get; }
Property Value
State
public ChannelStates State { get; }
Property Value
TransportSettings
public FixServerSettings TransportSettings { get; }
Property Value
Methods
Close()
public void Close()
DisposeManaged()
protected override void DisposeManaged()
Open()
public void Open()
TrySendByFix(Message)
public void TrySendByFix(Message message)
Parameters
message
Message
Events
ProcessCommand
public event Action<CommandTypes> ProcessCommand
Event Type
StateChanged
public event Action StateChanged