Ejemplo n.º 1
0
 public AckSenderWindow(AckSenderWindow.RetransmitCommand com, long[] interval, ILogger NCacheLog)
 {
     _ncacheLog = NCacheLog;
     InitBlock();
     retransmit_command = com;
     this.interval      = interval;
     retransmitter.RetransmitTimeouts = interval;
 }
Ejemplo n.º 2
0
		/// <summary> Creates a new instance. Thre retransmission thread has to be started separately with
		/// <code>start()</code>.
		/// </summary>
		/// <param name="com">If not null, its method <code>retransmit()</code> will be called when a message
		/// needs to be retransmitted (called by the Retransmitter).
		/// </param>
        public AckSenderWindow(AckSenderWindow.RetransmitCommand com, ILogger NCacheLog)
		{
            //this.nTrace = nTrace;
            _ncacheLog = NCacheLog;

			InitBlock();
			retransmit_command = com;
			retransmitter.RetransmitTimeouts = interval;
		}
Ejemplo n.º 3
0
        /// <summary> Creates a new instance. Thre retransmission thread has to be started separately with
        /// <code>start()</code>.
        /// </summary>
        /// <param name="com">If not null, its method <code>retransmit()</code> will be called when a message
        /// needs to be retransmitted (called by the Retransmitter).
        /// </param>
        public AckSenderWindow(AckSenderWindow.RetransmitCommand com, ILogger NCacheLog)
        {
            //this.nTrace = nTrace;
            _ncacheLog = NCacheLog;

            InitBlock();
            retransmit_command = com;
            retransmitter.RetransmitTimeouts = interval;
        }
Ejemplo n.º 4
0
 /// <summary> This constructor whould be used when we want AckSenderWindow to send the message added
 /// by add(), rather then ourselves.
 /// </summary>
 public AckSenderWindow(AckSenderWindow.RetransmitCommand com, long[] interval, Protocol transport, ILogger NCacheLog)
 {
     //this.nTrace = nTrace;
     _ncacheLog = NCacheLog;
     InitBlock();
     retransmit_command = com;
     this.interval      = interval;
     this.transport     = transport;
     retransmitter.RetransmitTimeouts = interval;
 }
Ejemplo n.º 5
0
		/// <summary> This constructor whould be used when we want AckSenderWindow to send the message added
		/// by add(), rather then ourselves.
		/// </summary>
        public AckSenderWindow(AckSenderWindow.RetransmitCommand com, long[] interval, Protocol transport, ILogger NCacheLog)
		{
            //this.nTrace = nTrace;
            _ncacheLog = NCacheLog;
            InitBlock();
			retransmit_command = com;
			this.interval = interval;
			this.transport = transport;
			retransmitter.RetransmitTimeouts = interval;
		}