Exemplo n.º 1
0
 public SomeActor(IRouteeType routeeType)
 {
     _routeeType = routeeType;
     Receive <string>(s => s == "hit", s => {
         Sender.Tell(new Reply(_routeeType, Self));
     });
 }
Exemplo n.º 2
0
 public SomeActor(IRouteeType routeeType)
 {
     _routeeType = routeeType;
     Receive<string>(s => s == "hit", s =>
     {
         Sender.Tell(new Reply(_routeeType, Self));
     });
 }
Exemplo n.º 3
0
            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));
                });
            }
Exemplo n.º 4
0
            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));
                });
            }
Exemplo n.º 5
0
 public Reply(IRouteeType routeeType, IActorRef actorRef)
 {
     RouteeType = routeeType;
     ActorRef   = actorRef;
 }
Exemplo n.º 6
0
 public Reply(IRouteeType routeeType, IActorRef actorRef)
 {
     RouteeType = routeeType;
     ActorRef = actorRef;
 }