Exemple #1
0
 protected override void PreStart()
 {
     base.PreStart();
     ActorsSystem.Add(Alias, Self);
     logger.Info($"Actor PreStart:{GetType()}");
     ActorInitialize();
 }
Exemple #2
0
 protected override void PostRestart(Exception reason)
 {
     base.PostRestart(reason);
     ActorsSystem.Add(Alias, Self);
     logger.Error($"Actor PostRestart:{reason} - {GetType()}");
     //ActorInitialize();
 }
 protected override void PostRestart(Exception reason)
 {
     base.PostRestart(reason);
     ActorsSystem.Add(Alias, Self);
     logger.Error(string.Format("Actor PostRestart:{0} - {1}", reason.ToString(), GetType()));
     //ActorInitialize();
 }
Exemple #4
0
 protected override void PostStop()
 {
     base.PostStop();
     ActorsSystem.Remove(Alias, Self);
     logger.Info($"Actor PostStop::{GetType()}");
 }