示例#1
0
文件: Bus.cs 项目: thomasraynal/busy
 private IMessage ToMessage(MessageTypeId messageTypeId, byte[] messageStream, TransportMessage transportMessage)
 {
     return(_serializer.ToMessage(transportMessage));
 }
示例#2
0
 public PeerSubscriptionsForTypesUpdated(PeerId peerId, DateTime timestampUtc, MessageTypeId messageTypeId, params BindingKey[] bindingKeys)
 {
     PeerId = peerId;
     SubscriptionsForType = new[] { new SubscriptionsForType(messageTypeId, bindingKeys) };
     TimestampUtc         = timestampUtc;
 }