示例#1
0
        private void Handle(ReturnProductMsg msg)
        {
            ActorSelection productActor = Context.ActorSelection(ActorSelectionPaths.Product(msg.ProductId));

            productActor.Tell(msg);
        }
示例#2
0
        private void Handle(TakeProductMsg msg)
        {
            ActorSelection basketMngActor = Context.ActorSelection(ActorSelectionPaths.Product(msg.ProductId));

            basketMngActor.Tell(msg);
        }