public static SurrogateForIRequestTarget Convert(IRequestTarget value)
 {
     // used for sending an bound actor-ref to client.
     if (value == null)
         return null;
     var target = ((BoundActorTarget)value);
     return new SurrogateForIRequestTarget { Id = target.Id, Address = target.Address };
 }
 public GamePairMakerRef(IRequestTarget target) : base(target)
 {
 }
 public SurrogateRef(IRequestTarget target) : base(target)
 {
 }
 public HelloWorldRef(IRequestTarget target) : base(target)
 {
 }
 public GreeterWithObserverRef(IRequestTarget target) : base(target)
 {
 }
 public EntryRef(IRequestTarget target) : base(target)
 {
 }
 public DummyWithTagRef(IRequestTarget target) : base(target)
 {
 }
 public CalculatorRef(IRequestTarget target) : base(target)
 {
 }
 public ActorBoundGatewayRef(IRequestTarget target) : base(target)
 {
 }
 public ActorBoundChannelRef(IRequestTarget target) : base(target)
 {
 }
Beispiel #11
0
 public CounterRef(IRequestTarget target) : base(target)
 {
 }
Beispiel #12
0
 public CalculatorRef(IRequestTarget target, IRequestWaiter requestWaiter, TimeSpan?timeout = null) : base(target, requestWaiter, timeout)
 {
 }
Beispiel #13
0
 public CalculatorRef(IRequestTarget target) : base(target)
 {
 }
 public EditorConnectionRef(IRequestTarget target, IRequestWaiter requestWaiter, TimeSpan?timeout = null) : base(target, requestWaiter, timeout)
 {
 }
 public UserInitiatorRef(IRequestTarget target)
     : base(target)
 {
 }
 public GamePlayerRef(IRequestTarget target, IRequestWaiter requestWaiter, TimeSpan? timeout = null)
     : base(target, requestWaiter, timeout)
 {
 }
 public ActorBoundGatewayRef(IRequestTarget target, IRequestWaiter requestWaiter, TimeSpan? timeout = null) : base(target, requestWaiter, timeout)
 {
 }
 public CounterRef(IRequestTarget target) : base(target)
 {
 }
Beispiel #19
0
 public GameClientRef(IRequestTarget target) : base(target)
 {
 }
 public SubjectRef(IRequestTarget target) : base(target)
 {
 }
Beispiel #21
0
 public GameClientRef(IRequestTarget target, IRequestWaiter requestWaiter, TimeSpan?timeout = null) : base(target, requestWaiter, timeout)
 {
 }
 public static SurrogateForIRequestTarget Convert(IRequestTarget value)
 {
     if (value == null) return null;
     var target = ((BoundActorTarget)value);
     return new SurrogateForIRequestTarget { Id = target.Id, Address = target.Address };
 }
Beispiel #23
0
 public UserRef(IRequestTarget target) : base(target)
 {
 }
 public EditorConnectionRef(IRequestTarget target) : base(target)
 {
 }
 public HelloWorldRef(IRequestTarget target) : base(target)
 {
 }
 public HelloWorldRef(IRequestTarget target, IRequestWaiter requestWaiter, TimeSpan? timeout = null) : base(target, requestWaiter, timeout)
 {
 }
 public HelloWorldRef(IRequestTarget target, IRequestWaiter requestWaiter, TimeSpan?timeout = null) : base(target, requestWaiter, timeout)
 {
 }
 public GameRef(IRequestTarget target) : base(target)
 {
 }
 public PedanticRef(IRequestTarget target) : base(target)
 {
 }
 public UserRef(IRequestTarget target)
     : base(target)
 {
 }
 public SurrogateRef(IRequestTarget target) : base(target)
 {
 }
 public GamePlayerRef(IRequestTarget target)
     : base(target)
 {
 }
        // from IRequestWaiter

        void IRequestWaiter.SendRequest(IRequestTarget target, RequestMessage requestMessage)
        {
            var sender = ActorCell.GetCurrentSelfOrNoSender();

            ((AkkaReceiverTarget)target).Receiver.Tell(requestMessage, sender);
        }
 public PedanticRef(IRequestTarget target) : base(target)
 {
 }
            public static SurrogateForIRequestTarget Convert(IRequestTarget value)
            {
                if (value == null)
                    return null;

                var actor = (IActorRef)(((AkkaReceiverTarget)value).Receiver);
                var path = ((ActorRefBase.Surrogate)actor.ToSurrogate(CurrentSystem)).Path;
                return new SurrogateForIRequestTarget { Path = path };
            }
 public CalculatorRef(IRequestTarget target, IRequestWaiter requestWaiter, TimeSpan? timeout = null) : base(target, requestWaiter, timeout)
 {
 }
Beispiel #37
0
 public EntryRef(IRequestTarget target) : base(target)
 {
 }
 public DummyExFinalRef(IRequestTarget target) : base(target)
 {
 }
Beispiel #39
0
 public EntryRef(IRequestTarget target, IRequestWaiter requestWaiter, TimeSpan?timeout = null) : base(target, requestWaiter, timeout)
 {
 }
 public DummyWithTagRef(IRequestTarget target, IRequestWaiter requestWaiter, TimeSpan? timeout = null) : base(target, requestWaiter, timeout)
 {
 }
Beispiel #41
0
 public GreeterRef(IRequestTarget target) : base(target)
 {
 }
 public DummyRef(IRequestTarget target) : base(target)
 {
 }
Beispiel #43
0
 public GreeterWithObserverRef(IRequestTarget target) : base(target)
 {
 }
 public EntryRef(IRequestTarget target, IRequestWaiter requestWaiter, TimeSpan? timeout = null) : base(target, requestWaiter, timeout)
 {
 }
Beispiel #45
0
 public GreeterWithObserverRef(IRequestTarget target, IRequestWaiter requestWaiter, TimeSpan?timeout = null) : base(target, requestWaiter, timeout)
 {
 }
 public GreeterRef(IRequestTarget target) : base(target)
 {
 }
 public TestRef(IRequestTarget target) : base(target)
 {
 }
 public GreeterWithObserverRef(IRequestTarget target, IRequestWaiter requestWaiter, TimeSpan? timeout = null) : base(target, requestWaiter, timeout)
 {
 }
Beispiel #49
0
 public Task SendRequestAndWait(IRequestTarget target, RequestMessage requestMessage, TimeSpan?timeout)
 {
     return(SendRequestAndReceive <object>(target, requestMessage, timeout));
 }