Example #1
0
 public PeerSubscriptionsForTypesUpdated(PeerId peerId, SubscriptionsForType[] subscriptionsForType, DateTime timestampUtc)
 {
     PeerId = peerId;
     SubscriptionsForType = subscriptionsForType;
     TimestampUtc         = timestampUtc;
 }
Example #2
0
 public PeerSubscriptionsForTypesUpdated(PeerId peerId, DateTime timestampUtc, MessageTypeId messageTypeId, params BindingKey[] bindingKeys)
 {
     PeerId = peerId;
     SubscriptionsForType = new[] { new SubscriptionsForType(messageTypeId, bindingKeys) };
     TimestampUtc         = timestampUtc;
 }