public MessageTransmitterImpl(GuidProxy guidProxy, IPofSerializer pofSerializer, NetworkBroadcaster networkBroadcaster, UnacknowledgedReliableMessageContainer unacknowledgedReliableMessageContainer, ObjectPool <CourierMessageV1> messageDtoPool)
 {
     this.guidProxy          = guidProxy;
     this.pofSerializer      = pofSerializer;
     this.networkBroadcaster = networkBroadcaster;
     this.unacknowledgedReliableMessageContainer = unacknowledgedReliableMessageContainer;
     this.messageDtoPool = messageDtoPool;
 }
Exemplo n.º 2
0
        public PeriodicResenderImpl(IThreadingProxy threadingProxy, UnacknowledgedReliableMessageContainer unacknowledgedReliableMessageContainer, MessageTransmitterImpl messageTransmitter)
        {
            this.threadingProxy = threadingProxy;
            this.unacknowledgedReliableMessageContainer = unacknowledgedReliableMessageContainer;
            this.messageTransmitter = messageTransmitter;

            this.cancellationTokenSource = threadingProxy.CreateCancellationTokenSource();
        }
 public MessageAcknowledgerImpl(NetworkBroadcaster networkBroadcaster, UnacknowledgedReliableMessageContainer unacknowledgedReliableMessageContainer, ObjectPool <CourierMessageAcknowledgeV1> acknowledgeDtoPool)
 {
     this.networkBroadcaster = networkBroadcaster;
     this.unacknowledgedReliableMessageContainer = unacknowledgedReliableMessageContainer;
     this.acknowledgeDtoPool = acknowledgeDtoPool;
 }
Exemplo n.º 4
0
 public MessageSenderImpl(GuidProxy guidProxy, UnacknowledgedReliableMessageContainer unacknowledgedReliableMessageContainer, MessageTransmitter messageTransmitter)
 {
     this.guidProxy = guidProxy;
     this.unacknowledgedReliableMessageContainer = unacknowledgedReliableMessageContainer;
     this.messageTransmitter = messageTransmitter;
 }