public ActorFacade(IActorSystemAdapter actorSystem, ILogger logger) { if (actorSystem == null) throw new ArgumentNullException(nameof(actorSystem)); if (logger == null) throw new ArgumentNullException(nameof(logger)); ActorSystem = actorSystem; Logger = logger; }
public static ActorSelection ActorSelection(this IActorSystemAdapter actorSystem, ActorMetadata actor, ActorPathType path = ActorPathType.Absolute) { return(actorSystem.ActorSelection(actor.Path)); //switch (path) //{ // case ActorPathType.Absolute: // return actorSystem.ActorSelection(actor.AbsoluteUri); // case ActorPathType.Relative: // return actorSystem.ActorSelection(actor.RelativeUri); // default: // return actorSystem.ActorSelection(actor.AbsoluteUri); //} }
public ActorFacade(IActorSystemAdapter actorSystem, ILogger logger) { if (actorSystem == null) { throw new ArgumentNullException(nameof(actorSystem)); } if (logger == null) { throw new ArgumentNullException(nameof(logger)); } ActorSystem = actorSystem; Logger = logger; }
/// <summary> /// Resolves all singleton actors so that the instance has been created and does not throw exception when trying to retrieve it using ActorSelection later on. /// This will also trigger the actor's message subscriptions (in constructors) and do standard actor startup such as PreStart(). /// </summary> /// <param name="actorSystem">The ActorSystem</param> private static void ResolveSingletonActors(IActorSystemAdapter actorSystem) { actorSystem.ActorOf(ActorRegistry.RootDirectory); }
public CommandLineArgsParserFacade(IActorSystemAdapter actorSystem, ILogger logger) : base(actorSystem, logger) { }
public RootDirectoryFacade(IActorSystemAdapter actorSystem, ILogger logger) : base(actorSystem, logger) { }
public ImageFacade(IActorSystemAdapter actorSystem, ILogger logger) : base(actorSystem, logger) { }
public RootDirectoryFacade(IActorSystemAdapter actorSystem, ILogger logger) : base(actorSystem, logger) { }
/// <summary> /// Resolves all singleton actors so that the instance has been created and does not throw exception when trying to retrieve it using ActorSelection later on. /// This will also trigger the actor's message subscriptions (in constructors) and do standard actor startup such as PreStart(). /// </summary> /// <param name="actorSystem">The ActorSystem</param> private static void ResolveSingletonActors(IActorSystemAdapter actorSystem) { actorSystem.ActorOf(ActorRegistry.RootDirectory); }
public NotebookFacade(IActorSystemAdapter actorSystem, ILogger logger) : base(actorSystem, logger) { }
public CommandLineArgsParserFacade(IActorSystemAdapter actorSystem, ILogger logger) : base(actorSystem, logger) { }
public NotebookFacade(IActorSystemAdapter actorSystem, ILogger logger) : base(actorSystem, logger) { }
public SectionFacade(IActorSystemAdapter actorSystem, ILogger logger) : base(actorSystem, logger) { }
public ProcessFacade(IActorSystemAdapter actorSystem, ILogger logger) : base(actorSystem, logger) { }
public ProcessFacade(IActorSystemAdapter actorSystem, ILogger logger) : base(actorSystem, logger) { }
public SectionFacade(IActorSystemAdapter actorSystem, ILogger logger) : base(actorSystem, logger) { }