Exemplo n.º 1
0
        public MoviePlaybackActor()
            : base()
        {
            ColoredConsole.WriteCreationEvent($"  [{this.ActorName}] '{ActorName}' actor constructor.");

            UserCoordinatorActorRef    = ActorSystemHelper.CreateActorHelper(Context, UserCoordinatorActor.Props(), ActorPaths.UserCoordinatorActor.Name);
            PlaybackStatisticsActorRef = ActorSystemHelper.CreateActorHelper(Context, PlaybackStatisticsActor.Props(), ActorPaths.PlaybackStatisticsActor.Name);
        }
Exemplo n.º 2
0
 public static Akka.Actor.IActorRef Create()
 {
     return(Context.ActorOf(UserCoordinatorActor.Props(), ActorPaths.UserCoordinatorActor.Name));
 }