예제 #1
0
 public void TestSetup()
 {
     Akka.Actor.ActorSystem system = Sys;
     var config = TestKit.DefaultConfig;
     var akkaSettings = new Akka.Actor.Settings(system, config);
     uut = new RemoteNodeMailbox(akkaSettings, config);
 }
        public void TestSetup()
        {
            Akka.Actor.ActorSystem system = Sys;
            var config       = TestKit.DefaultConfig;
            var akkaSettings = new Akka.Actor.Settings(system, config);

            uut = new ProtocolHandlerMailbox(akkaSettings, config);
        }
 public static void Create()
 {
     ActorSystem = Akka.Actor.ActorSystem.Create("TrangselskattActorSystem");
     ActorReferences.FordonApiController =
         ActorSystem.ActorSelection("akka.tcp://[email protected]:8091/user/VehicleCoordinator")
         .ResolveOne(TimeSpan.FromSeconds(10))
         .Result;
 }
예제 #4
0
 public ActorFinder(ActorSystem akkaActorSystem, TimeSpan actorFindTimeOut)
 {
     _actorSystem = akkaActorSystem;
     _timeOut     = actorFindTimeOut;
 }
예제 #5
0
 public ActorFinder(ActorSystem akkaActorSystem)
 {
     _actorSystem = akkaActorSystem;
     _timeOut     = TimeSpan.FromSeconds(10);
 }