Exemplo n.º 1
0
 internal Backgrounding(CuratorFrameworkImpl client,
                        IBackgroundCallback callback,
                        Object context,
                        IExecutor executor)
     : this(wrapCallback(client, callback, executor), context)
 {
 }
Exemplo n.º 2
0
 public ErrorListenerPathAndBytesable <String> inBackground(IBackgroundCallback callback,
                                                            Object context,
                                                            IExecutor executor)
 {
     backgrounding = new Backgrounding(client, callback, context, executor);
     return(this);
 }
Exemplo n.º 3
0
 internal Backgrounding()
 {
     inBackgrnd    = false;
     context       = null;
     this.callback = null;
     errorListener = null;
 }
Exemplo n.º 4
0
 internal Backgrounding(CuratorFrameworkImpl client, 
                         IBackgroundCallback callback, 
                         Object context, 
                         IExecutor executor)
     : this(wrapCallback(client, callback, executor), context)
 {
 }
Exemplo n.º 5
0
 internal Backgrounding(IBackgroundCallback callback, Object context)
 {
     this.inBackgrnd = true;
     this.context = context;
     this.callback = callback;
     errorListener = null;
 }
Exemplo n.º 6
0
 internal Backgrounding(bool inBackground)
 {
     this.inBackgrnd = inBackground;
     this.context = null;
     this.callback = null;
     errorListener = null;
 }
Exemplo n.º 7
0
 internal Backgrounding(IBackgroundCallback callback, Object context)
 {
     this.inBackgrnd = true;
     this.context    = context;
     this.callback   = callback;
     errorListener   = null;
 }
Exemplo n.º 8
0
 internal Backgrounding(bool inBackground)
 {
     this.inBackgrnd = inBackground;
     this.context    = null;
     this.callback   = null;
     errorListener   = null;
 }
Exemplo n.º 9
0
 public BackgroundCallback(CuratorFrameworkImpl client,
                           IBackgroundCallback callback,
                           IExecutor service)
 {
     _client   = client;
     _callback = callback;
     _service  = service;
 }
Exemplo n.º 10
0
 internal OperationAndData(IBackgroundOperation <T> operation, T data, IBackgroundCallback callback, ErrorCallback <T> errorCallback, Object context)
 {
     this.operation     = operation;
     this.data          = data;
     this.callback      = callback;
     this.errorCallback = errorCallback;
     this.context       = context;
     reset();
 }
Exemplo n.º 11
0
 internal Backgrounding(Backgrounding rhs, IUnhandledErrorListener errorListener)
 {
     if (rhs == null)
     {
         rhs = new Backgrounding();
     }
     this.inBackgrnd = rhs.inBackgrnd;
     this.context = rhs.context;
     this.callback = rhs.callback;
     this.errorListener = errorListener;
 }
Exemplo n.º 12
0
 internal Backgrounding(Backgrounding rhs, IUnhandledErrorListener errorListener)
 {
     if (rhs == null)
     {
         rhs = new Backgrounding();
     }
     this.inBackgrnd    = rhs.inBackgrnd;
     this.context       = rhs.context;
     this.callback      = rhs.callback;
     this.errorListener = errorListener;
 }
Exemplo n.º 13
0
 public IErrorListenerPathable <byte[]> inBackground(IBackgroundCallback callback, Object context, IExecutor executor)
 {
     backgrounding = new Backgrounding(client, callback, context, executor);
     return(this);
 }
Exemplo n.º 14
0
 public IErrorListenerPathable <byte[]> inBackground(IBackgroundCallback callback, Object context)
 {
     backgrounding = new Backgrounding(callback, context);
     return(this);
 }
Exemplo n.º 15
0
 public ErrorListenerPathAndBytesable <String> inBackground(IBackgroundCallback callback)
 {
     backgrounding = new Backgrounding(callback);
     return(this);
 }
Exemplo n.º 16
0
 public ErrorListenerPathAndBytesable <String> inBackground(IBackgroundCallback callback, Object context, IExecutor executor)
 {
     return(_createBuilderImpl.inBackground(callback, context, executor));
 }
Exemplo n.º 17
0
 public ErrorListenerPathAndBytesable <String> inBackground(IBackgroundCallback callback)
 {
     return(_createBuilderImpl.inBackground(callback));
 }
Exemplo n.º 18
0
 internal Backgrounding()
 {
     inBackgrnd = false;
     context = null;
     this.callback = null;
     errorListener = null;
 }
Exemplo n.º 19
0
 public ErrorListenerPathAndBytesable <Stat> inBackground(IBackgroundCallback callback, IExecutor executor)
 {
     return(_setDataBuilderImpl.inBackground(callback, executor));
 }
Exemplo n.º 20
0
 public ErrorListenerPathAndBytesable <Stat> inBackground(IBackgroundCallback callback, Object context)
 {
     backgrounding = new Backgrounding(callback, context);
     return(this);
 }
Exemplo n.º 21
0
 public BackgroundCallback(CuratorFrameworkImpl client, 
                             IBackgroundCallback callback, 
                             IExecutor service)
 {
     _client = client;
     _callback = callback;
     _service = service;
 }
Exemplo n.º 22
0
 public IErrorListenerPathable <List <String> > inBackground(IBackgroundCallback callback)
 {
     backgrounding = new Backgrounding(callback);
     return(this);
 }
Exemplo n.º 23
0
 public IErrorListenerPathable <byte[]> inBackground(IBackgroundCallback callback, Object context)
 {
     return(_getDataBuilderImpl.inBackground(callback, context));
 }
Exemplo n.º 24
0
 public ErrorListenerPathAndBytesable <Stat> inBackground(IBackgroundCallback callback, Object context)
 {
     return(_setDataBuilderImpl.inBackground(callback, context));
 }
Exemplo n.º 25
0
 public ErrorListenerPathAndBytesable <Stat> inBackground(IBackgroundCallback callback, IExecutor executor)
 {
     backgrounding = new Backgrounding(client, callback, executor);
     return(this);
 }
Exemplo n.º 26
0
 public IErrorListenerPathable <byte[]> inBackground(IBackgroundCallback callback, IExecutor executor)
 {
     return(_getDataBuilderImpl.inBackground(callback, executor));
 }
Exemplo n.º 27
0
 private static IBackgroundCallback wrapCallback(CuratorFrameworkImpl client,
                                                 IBackgroundCallback callback,
                                                 IExecutor executor)
 {
     return(new BackgroundCallback(client, callback, executor));
 }
Exemplo n.º 28
0
 public IErrorListenerPathable <List <String> > inBackground(IBackgroundCallback callback, IExecutor executor)
 {
     backgrounding = new Backgrounding(client, callback, executor);
     return(this);
 }
Exemplo n.º 29
0
 private static IBackgroundCallback wrapCallback(CuratorFrameworkImpl client, 
                                                 IBackgroundCallback callback, 
                                                 IExecutor executor)
 {
     return new BackgroundCallback(client,callback, executor);
 }