Ejemplo n.º 1
0
 LeaseImpl(ClientConnectionManager connectionManager)
 {
     this.connectionManager = connectionManager;
     managedChannel         = connectionManager.NewChannel();
     leaseClient            = new LeaseClient(managedChannel.channel);
     // this.stub = connectionManager.NewStub<LeaseFutureStub>(null);
     // this.leaseStub = connectionManager.NewStub<LeaseStub>(null);
     // this.keepAlives = new ConcurrentDictionary<string, impl.KeepAlive>();
     //this.scheduledExecutorService = MoreExecutors.listeningDecorator(Executors.newScheduledThreadPool(2));
 }
Ejemplo n.º 2
0
 AuthImpl(ClientConnectionManager connectionManager)
 {
     this.connectionManager = connectionManager;
     managedChannel         = connectionManager.NewChannel();
     authClient             = new AuthClient(managedChannel.Channel);
 }
Ejemplo n.º 3
0
 public KVImpl(ClientConnectionManager connectionManager)
 {
     this.connectionManager = connectionManager;
     managedChannel         = connectionManager.NewChannel();
     kVClient = new KVClient(managedChannel.Channel);
 }
Ejemplo n.º 4
0
 LockImpl(ClientConnectionManager connectionManager)
 {
     this.connectionManager = connectionManager;
     managedChannel         = connectionManager.NewChannel();
     lockClient             = new LockClient(managedChannel.Channel);
 }
Ejemplo n.º 5
0
 WatchImpl(ClientConnectionManager connectionManager)
 {
     this.connectionManager = connectionManager;
     managedChannel         = connectionManager.NewChannel();
     watchClient            = new WatchClient(managedChannel.channel);
 }
Ejemplo n.º 6
0
 MaintenanceImpl(ClientConnectionManager connectionManager)
 {
     this.connectionManager = connectionManager;
     managedChannel         = connectionManager.NewChannel();
     maintenanceClient      = new MaintenanceClient(managedChannel.Channel);
 }
Ejemplo n.º 7
0
 ClusterImpl(ClientConnectionManager connectionManager)
 {
     this.connectionManager = connectionManager;
     managedChannel         = connectionManager.NewChannel();
     clusterClient          = new ClusterClient(managedChannel.channel);
 }