SubscriptionRoutingState
StockSharp.Algo.Basket
Standard-Implementierung von ISubscriptionRoutingState.
Implementiert: ISubscriptionRoutingState
Methoden
AddRequest
public void AddRequest(long transactionId, ISubscriptionMessage message, IMessageAdapter adapter)
subscriptionRoutingState.AddRequest(transactionId, message, adapter)
Fügen Sie die Anfrage nach ID hinzu.
AddSubscription
public void AddSubscription(long transactionId, ISubscriptionMessage message, IMessageAdapter[] adapters, DataType dataType)
subscriptionRoutingState.AddSubscription(transactionId, message, adapters, dataType)
Fügen Sie Abonnement-Info hinzu.
AddUnsubscribe
public void AddUnsubscribe(long transactionId, ISubscriptionMessage message)
subscriptionRoutingState.AddUnsubscribe(transactionId, message)
Keep an unsubscribe the basket was given, by the caller's ID, until its children answer.
Clear
public void Clear()
subscriptionRoutingState.Clear()
Löscht alle Adapterzustände und setzt den aktuellen Zustand auf Disconnected zurück.
GetSubscribers
public long[] GetSubscribers(DataType dataType)
result = subscriptionRoutingState.GetSubscribers(dataType)
Abonnenten-IDs für einen Datentyp abrufen.
RemoveRequest
public bool RemoveRequest(long transactionId)
result = subscriptionRoutingState.RemoveRequest(transactionId)
Entfernen Sie die Anfrage per ID.
RemoveSubscription
public bool RemoveSubscription(long transactionId)
result = subscriptionRoutingState.RemoveSubscription(transactionId)
Abo entfernen.
RemoveUnsubscribe
public bool RemoveUnsubscribe(long transactionId)
result = subscriptionRoutingState.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 = subscriptionRoutingState.TryGetRequest(transactionId, message, adapter)
Versuchen Sie, die Anfrage per ID zu erhalten.
TryGetSubscription
public bool TryGetSubscription(long transactionId, ISubscriptionMessage message, IMessageAdapter[] adapters, DataType dataType)
result = subscriptionRoutingState.TryGetSubscription(transactionId, message, adapters, dataType)
Versuchen Sie, Abonnement-Infos zu erhalten.
TryGetUnsubscribe
public bool TryGetUnsubscribe(long transactionId, ISubscriptionMessage message)
result = subscriptionRoutingState.TryGetUnsubscribe(transactionId, message)
Try get an unsubscribe the basket was given, by the caller's ID.