Ejemplo n.º 1
0
 public Remoting(ActorSystem system, RemoteActorRefProvider provider)
     : base(system, provider)
 {
     log = Logging.GetLogger(system, "remoting");
     _eventPublisher = new EventPublisher(system, log, Logging.LogLevelFor(provider.RemoteSettings.RemoteLifecycleEventsLogLevel));
     _transportSupervisor = system.SystemActorOf(Props.Create<TransportSupervisor>(), "transports");
 }
Ejemplo n.º 2
0
 protected EndpointActor(Address localAddress, Address remoteAddress, AkkaProtocolTransport transport,
     RemoteSettings settings)
 {
     EventPublisher = new EventPublisher(Context.System, _log, Logging.LogLevelFor(settings.RemoteLifecycleEventsLogLevel));
     LocalAddress = localAddress;
     RemoteAddress = remoteAddress;
     Transport = transport;
     Settings = settings;
 }
Ejemplo n.º 3
0
        public EndpointManager(Config config, ILoggingAdapter log)
        {
            _conf = config;
            _settings = new RemoteSettings(_conf);
            _log = log;
            _eventPublisher = new EventPublisher(Context.System, log, Logging.LogLevelFor(_settings.RemoteLifecycleEventsLogLevel));

            Receiving();
        }
Ejemplo n.º 4
0
 public EndpointManager(Config config, LoggingAdapter log)
 {
     conf = config;
     settings = new RemoteSettings(conf);
     this.log = log;
     eventPublisher = new EventPublisher(Context.System, log, Logging.LogLevelFor(settings.RemoteLifecycleEventsLogLevel));
 }