Esempio n. 1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="AtLeastOnceDeliverySemantic"/> class.
        /// </summary>
        /// <param name="context">TBD</param>
        /// <param name="settings">TBD</param>
        public AtLeastOnceDeliverySemantic(IActorContext context, PersistenceSettings.AtLeastOnceDeliverySettings settings)
        {
            _context            = context;
            _deliverySequenceNr = 0;

            RedeliverInterval    = settings.RedeliverInterval;
            RedeliveryBurstLimit = settings.RedeliveryBurstLimit;
            WarnAfterNumberOfUnconfirmedAttempts = settings.WarnAfterNumberOfUnconfirmedAttempts;
            MaxUnconfirmedMessages = settings.MaxUnconfirmedMessages;
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="AtLeastOnceDeliveryReceiveActor"/> class.
 /// </summary>
 /// <param name="settings">Custom AtLeastOnceDelivery settings</param>
 protected AtLeastOnceDeliveryReceiveActor(PersistenceSettings.AtLeastOnceDeliverySettings settings)
 {
     _atLeastOnceDeliverySemantic = new AtLeastOnceDeliverySemantic(Context, settings);
 }
Esempio n. 3
0
 /// <summary>
 /// TBD
 /// </summary>
 /// <param name="context">TBD</param>
 /// <param name="settings">TBD</param>
 public AtLeastOnceDeliverySemantic(IActorContext context, PersistenceSettings.AtLeastOnceDeliverySettings settings)
 {
     _context            = context;
     _settings           = settings;
     _deliverySequenceNr = 0;
 }