Exemple #1
0
 public SomeActor(IRouteeType routeeType)
 {
     _routeeType = routeeType;
     Receive <string>(s => s == "hit", s => {
         Sender.Tell(new Reply(_routeeType, Self));
     });
 }
 public SomeActor(IRouteeType routeeType)
 {
     _routeeType = routeeType;
     Receive<string>(s => s == "hit", s =>
     {
         Sender.Tell(new Reply(_routeeType, Self));
     });
 }
            public SomeActor(IRouteeType routeeType)
            {
                _routeeType = routeeType;
                log.Info("Starting on {0}", Self.Path.Address);

                Receive <string>(msg =>
                {
                    log.Info("msg = {0}", msg);
                    Sender.Tell(new Reply(_routeeType, Self));
                });
            }
            public SomeActor(IRouteeType routeeType)
            {
                _routeeType = routeeType;
                log.Info("Starting on {0}", Self.Path.Address);

                Receive<string>(msg =>
                {
                    log.Info("msg = {0}", msg);
                    Sender.Tell(new Reply(_routeeType, Self));
                });
            }
Exemple #5
0
 public Reply(IRouteeType routeeType, IActorRef actorRef)
 {
     RouteeType = routeeType;
     ActorRef   = actorRef;
 }
 public Reply(IRouteeType routeeType, IActorRef actorRef)
 {
     RouteeType = routeeType;
     ActorRef = actorRef;
 }