public void Send(DataSubscriptionChangeNotification dataSubscriptionChangeNotification) { OnDataSubscriptionChangeNotification(this, dataSubscriptionChangeNotification); foreach (var connectionState in connections) { connectionState.Value.DocumentStore.Send(dataSubscriptionChangeNotification); } }
public void Send(DataSubscriptionChangeNotification dataSubscriptionChangeNotification) { var onOnDataSubscriptionChangeNotification = OnDataSubscriptionNotification; if (onOnDataSubscriptionChangeNotification != null) { onOnDataSubscriptionChangeNotification(dataSubscriptionChangeNotification); } }
public void Send(DataSubscriptionChangeNotification dataSubscriptionChangeNotification) { if (watchAllDataSubscriptions > 0) { enqueue(new { Value = dataSubscriptionChangeNotification, Type = "DataSubscriptionChangeNotification" }); return; } if (matchingDataSubscriptions.Contains(dataSubscriptionChangeNotification.Id) == false) { return; } enqueue(new { Value = dataSubscriptionChangeNotification, Type = "DataSubscriptionChangeNotification" }); }
public void RaiseNotifications(DataSubscriptionChangeNotification obj) { Database.TransportState.Send(obj); }
public void Send(DataSubscriptionChangeNotification dataSubscriptionChangeNotification) { OnDataSubscriptionNotification?.Invoke(dataSubscriptionChangeNotification); }