ISubscriptionRoutingState

StockSharp.Algo.Basket

Armazenamento do estado para roteamento da assinatura no adaptador do cesto.

Métodos

AddRequest
public void AddRequest(long transactionId, ISubscriptionMessage message, IMessageAdapter adapter)
iSubscriptionRoutingState.AddRequest(transactionId, message, adapter)

Adicionar pedido por ID.

AddSubscription
public void AddSubscription(long transactionId, ISubscriptionMessage message, IMessageAdapter[] adapters, DataType dataType)
iSubscriptionRoutingState.AddSubscription(transactionId, message, adapters, dataType)

Adicionar informações sobre a subscrição.

AddUnsubscribe
public void AddUnsubscribe(long transactionId, ISubscriptionMessage message)
iSubscriptionRoutingState.AddUnsubscribe(transactionId, message)

Keep an unsubscribe the basket was given, by the caller's ID, until its children answer.

Clear
public void Clear()
iSubscriptionRoutingState.Clear()

Limpar todo o estado.

GetSubscribers
public long[] GetSubscribers(DataType dataType)
result = iSubscriptionRoutingState.GetSubscribers(dataType)

Obter IDs de assinante por tipo de dados.

RemoveRequest
public bool RemoveRequest(long transactionId)
result = iSubscriptionRoutingState.RemoveRequest(transactionId)

Remover pedido por ID.

RemoveSubscription
public bool RemoveSubscription(long transactionId)
result = iSubscriptionRoutingState.RemoveSubscription(transactionId)

Remover assinatura.

RemoveUnsubscribe
public bool RemoveUnsubscribe(long transactionId)
result = iSubscriptionRoutingState.RemoveUnsubscribe(transactionId)

Remove an unsubscribe the basket was given, by the caller's ID.

TryGetRequest
public bool TryGetRequest(long transactionId, ISubscriptionMessage message, IMessageAdapter adapter)
result = iSubscriptionRoutingState.TryGetRequest(transactionId, message, adapter)

Tente obter o pedido por identificação.

TryGetSubscription
public bool TryGetSubscription(long transactionId, ISubscriptionMessage message, IMessageAdapter[] adapters, DataType dataType)
result = iSubscriptionRoutingState.TryGetSubscription(transactionId, message, adapters, dataType)

Tente obter informações de assinatura.

TryGetUnsubscribe
public bool TryGetUnsubscribe(long transactionId, ISubscriptionMessage message)
result = iSubscriptionRoutingState.TryGetUnsubscribe(transactionId, message)

Try get an unsubscribe the basket was given, by the caller's ID.