Exemplo n.º 1
0
 public ZooKeeperServiceRouteManager(ZookeeperConfigInfo configInfo, ISerializer serializer, ILogger<ZooKeeperServiceRouteManager> logger)
 {
     _configInfo = configInfo;
     _serializer = serializer;
     _logger = logger;
     CreateZooKeeper();
 }
Exemplo n.º 2
0
 public ZooKeeperServiceRouteManager(ZookeeperConfigInfo configInfo, ISerializer <byte[]> serializer, ILogger <ZooKeeperServiceRouteManager> logger)
 {
     _configInfo = configInfo;
     _serializer = serializer;
     _logger     = logger;
     CreateZooKeeper();
 }
Exemplo n.º 3
0
 public ZooKeeperServiceRouteManager(ZookeeperConfigInfo configInfo, ISerializer <byte[]> serializer,
                                     ISerializer <string> stringSerializer, IServiceRouteFactory serviceRouteFactory,
                                     ILogger <ZooKeeperServiceRouteManager> logger) : base(stringSerializer)
 {
     _configInfo          = configInfo;
     _serializer          = serializer;
     _serviceRouteFactory = serviceRouteFactory;
     _logger = logger;
     CreateZooKeeper().Wait();
     EnterRoutes().Wait();
 }
 public ZooKeeperServiceRouteManager(ZookeeperConfigInfo configInfo, ISerializer<byte[]> serializer,
     ISerializer<string> stringSerializer, IServiceRouteFactory serviceRouteFactory,
     ILogger<ZooKeeperServiceRouteManager> logger) : base(stringSerializer)
 {
     _configInfo = configInfo;
     _serializer = serializer;
     _serviceRouteFactory = serviceRouteFactory;
     _logger = logger;
     CreateZooKeeper().Wait();
     EnterRoutes().Wait();
 }