Table of Contents

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 Hydra

Hydra

getPermissions Func<string, PermissionCredentials>

Get permissions handler.

Properties

EmulatorSettings

public MarketEmulatorSettings EmulatorSettings { get; }

Property Value

MarketEmulatorSettings

State

public ChannelStates State { get; }

Property Value

ChannelStates

TransportSettings

public FixServerSettings TransportSettings { get; }

Property Value

FixServerSettings

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

Action<CommandTypes>

StateChanged

public event Action StateChanged

Event Type

Action