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