private IMessage ToMessage(MessageTypeId messageTypeId, byte[] messageStream, TransportMessage transportMessage) { return(_serializer.ToMessage(transportMessage)); }
public PeerSubscriptionsForTypesUpdated(PeerId peerId, DateTime timestampUtc, MessageTypeId messageTypeId, params BindingKey[] bindingKeys) { PeerId = peerId; SubscriptionsForType = new[] { new SubscriptionsForType(messageTypeId, bindingKeys) }; TimestampUtc = timestampUtc; }