public AbstractConsumer(IMessageHandler handler, ClientCacheContainer cacheContainer, ILoadBalance loadBalance, ISerializer serializer) { _handler = handler; _handler.Recieved += Message_Recieved; _cacheContainer = cacheContainer; _loadBalance = loadBalance; _serializer = serializer; _transportProvider = new TransportProvider(_cacheContainer, serializer); _connector = _transportProvider.GetConnector(_handler); }
public DefaultConsumerProcessor(ClientCacheContainer cacheContainer) { _cacheContainer = cacheContainer; }
public TransportProvider(ClientCacheContainer clientCacheContainer, ISerializer serializer) : this(serializer) { _clientCacheContainer = clientCacheContainer; }
public AbstractWatcher(ZooKeeper zookeeper, ClientCacheContainer clientCacheContainer, ISerializer serializer) : this(zookeeper, serializer) { _clientCacheContainer = clientCacheContainer; }
public ConsumerWatcher(ZooKeeperNet.ZooKeeper zooKeeper, ClientCacheContainer clientCacheContainer, ISerializer serializer) : base(zooKeeper, clientCacheContainer, serializer) { }
private ProviderWatcher(ZooKeeper zookeeper, ClientCacheContainer clientCacheContainer, ISerializer serializer) : base(zookeeper, clientCacheContainer, serializer) { }
public DefaultConsumer(IMessageHandler handler, ClientCacheContainer cacheContainer, ILoadBalance loadBalance, ISerializer serializer) : base(handler, cacheContainer, loadBalance, serializer) { }