Example #1
0
        protected void Replay()
        {
            var limit = MaxBufferSize - Buffer.Length;

            Log.Debug("replay all events request from [{0}] to [{1}], limit [{2}]", CurrentOffset, ToOffset, limit);
            JournalRef.Tell(new ReplayAllEvents(CurrentOffset, ToOffset, limit, Self));
            Context.Become(Replaying);
        }
Example #2
0
 protected override void ReceiveInitialRequest()
 {
     JournalRef.Tell(SubscribeNewEvents.Instance);
     Replay();
 }
Example #3
0
 protected override void ReceiveInitialRequest()
 {
     JournalRef.Tell(new SubscribePersistenceId(PersistenceId));
     Replay();
 }
Example #4
0
 protected override void ReceiveInitialRequest()
 {
     JournalRef.Tell(new SubscribeTag(Tag));
     Replay();
 }