Exemple #1
0
 public LocalMessagesWaiter(ActorSystem system, IActorSubscriber subscriber, TimeSpan defaultTimeout, ConditionBuilder <T> conditionBuilder)
 {
     _system          = system;
     _defaultTimeout  = defaultTimeout;
     _subscriber      = subscriber;
     ConditionBuilder = conditionBuilder;
 }
Exemple #2
0
 protected RoutingActor(IHandlerActorTypeFactory actorTypeFactory,
                        IActorSubscriber subscriber)
 {
     _subscriber       = subscriber;
     _actorTypeFactory = actorTypeFactory;
     _monitor          = new ActorMonitor(Context);
 }
Exemple #3
0
 public LocalExplicitMessagesWaiter(ActorSystem system,
                                    IActorSubscriber subscriber,
                                    TimeSpan defaultTimeout,
                                    ConditionBuilder <Task <IWaitResult> > conditionBuilder) : base(system, subscriber, defaultTimeout, conditionBuilder)
 {
     conditionBuilder.CreateResultFunc = Start;
 }
Exemple #4
0
 private CommandWaiter(ActorSystem system,
                       IActorSubscriber subscriber,
                       TimeSpan defaultTimeout,
                       CommandConditionBuilder <TCommand> conditionBuilder) : base(system, subscriber, defaultTimeout, conditionBuilder)
 {
     _conditionBuilder = conditionBuilder;
     _conditionBuilder.CreateResultFunc = Start;
 }
 public AkkaCommandLocalWaiter(ICommandExecutor executor, ActorSystem system, IActorSubscriber subscriber, TimeSpan defaultTimeout, bool failOnAnyFault)
     : base(system, subscriber, defaultTimeout)
 {
     ExpectBuilder = new CommandExpectBuilder(executor, this, failOnAnyFault);
 }
 public DebugLocalWaiter(IPublisher publisher, ActorSystem system, IActorSubscriber subscriber, TimeSpan defaultTimeout)
     : base(system, subscriber, defaultTimeout)
 {
     ExpectBuilder = new AnyMessageExpectBuilder(publisher, this, defaultTimeout);
 }
 public AkkaMessageLocalWaiter(ActorSystem system, IActorSubscriber subscriber, TimeSpan defaultTimeout) : base(system, subscriber, defaultTimeout)
 {
     ExpectBuilder = new MessageExpectBuilder(this, defaultTimeout);
 }
Exemple #8
0
 public static void Unsubscribe <T>(this IActorSubscriber subscriber, IActorRef actor)
 {
     subscriber.Unsubscribe(actor, typeof(T));
 }
 public LocalMessagesWaiter(ActorSystem system, IActorSubscriber subscriber, TimeSpan defaultTimeout)
 {
     _system         = system;
     _defaultTimeout = defaultTimeout;
     _subscriber     = subscriber;
 }
Exemple #10
0
 public LocalExplicitMessagesWaiter(ActorSystem system,
                                    IActorSubscriber subscriber,
                                    TimeSpan defaultTimeout) : this(system, subscriber, defaultTimeout, new ConditionBuilder <Task <IWaitResult> >())
 {
 }
 public ClusterSystemRouterActor(IHandlerActorTypeFactory actorTypeFactory,
                                 IActorSubscriber subscriber) : base(actorTypeFactory, subscriber)
 {
 }
 public LocalSystemRoutingActor(IHandlerActorTypeFactory actorTypeFactory, IActorSubscriber subscriber)
     : base(actorTypeFactory, subscriber)
 {
 }