IHostedProtocolServer
StockSharp.Server.Core
A protocol server that a module brings up and configures itself, rather than one a gate hosts on its behalf.
Implementa: IProtocolServer, ILogReceiver, ILogSource, IDisposable
Propriedades
Address
public EndPoint Address { get; set; }
value = iHostedProtocolServer.Address
iHostedProtocolServer.Address = value
Where the server listens.
Settings
public BaseServerSettings Settings { get; }
value = iHostedProtocolServer.Settings
The settings every protocol shares. Anything protocol-specific stays on the concrete server.
Métodos
HasSubscriptions
public bool HasSubscriptions(DataType dataType, SecurityId securityId)
result = iHostedProtocolServer.HasSubscriptions(dataType, securityId)
Whether any client asked for this data.
- dataType
- The data type.
- securityId
- The security.
Retorna: if some session subscribed to it.
Eventos
StateChanged
public event Action StateChanged
iHostedProtocolServer.StateChanged += handler
Raised when State changes.