Esempio n. 1
0
 public ClientChannel(SocketBase socket, int capacity, TimeSpan hearbeatInterval) : base(UuidGen.ComputeUuid(),
                                                                                         null,
                                                                                         socket,
                                                                                         capacity,
                                                                                         hearbeatInterval)
 {
     isFresh = true;
 }
Esempio n. 2
0
 protected virtual EventHeader CreateHeader()
 {
     return(new EventHeader {
         Version = PROTOCOL_VERSION, MessageId = UuidGen.ComputeUuid(), ResponseTo = Id
     });
 }