예제 #1
0
 protected override void PreStart()
 {
     base.PreStart();
     ActorsSystem.Add(Alias, Self);
     logger.Info($"Actor PreStart:{GetType()}");
     ActorInitialize();
 }
예제 #2
0
 protected override void PostRestart(Exception reason)
 {
     base.PostRestart(reason);
     ActorsSystem.Add(Alias, Self);
     logger.Error($"Actor PostRestart:{reason} - {GetType()}");
     //ActorInitialize();
 }
예제 #3
0
 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();
 }
예제 #4
0
 protected override void PostStop()
 {
     base.PostStop();
     ActorsSystem.Remove(Alias, Self);
     logger.Info($"Actor PostStop::{GetType()}");
 }