예제 #1
0
 internal Backgrounding(CuratorFrameworkImpl client,
                        IBackgroundCallback callback,
                        Object context,
                        IExecutor executor)
     : this(wrapCallback(client, callback, executor), context)
 {
 }
예제 #2
0
 public ErrorListenerPathAndBytesable <String> inBackground(IBackgroundCallback callback,
                                                            Object context,
                                                            IExecutor executor)
 {
     backgrounding = new Backgrounding(client, callback, context, executor);
     return(this);
 }
예제 #3
0
 internal Backgrounding()
 {
     inBackgrnd    = false;
     context       = null;
     this.callback = null;
     errorListener = null;
 }
예제 #4
0
 internal Backgrounding(CuratorFrameworkImpl client, 
                         IBackgroundCallback callback, 
                         Object context, 
                         IExecutor executor)
     : this(wrapCallback(client, callback, executor), context)
 {
 }
예제 #5
0
 internal Backgrounding(IBackgroundCallback callback, Object context)
 {
     this.inBackgrnd = true;
     this.context = context;
     this.callback = callback;
     errorListener = null;
 }
예제 #6
0
 internal Backgrounding(bool inBackground)
 {
     this.inBackgrnd = inBackground;
     this.context = null;
     this.callback = null;
     errorListener = null;
 }
예제 #7
0
 internal Backgrounding(IBackgroundCallback callback, Object context)
 {
     this.inBackgrnd = true;
     this.context    = context;
     this.callback   = callback;
     errorListener   = null;
 }
예제 #8
0
 internal Backgrounding(bool inBackground)
 {
     this.inBackgrnd = inBackground;
     this.context    = null;
     this.callback   = null;
     errorListener   = null;
 }
예제 #9
0
 public BackgroundCallback(CuratorFrameworkImpl client,
                           IBackgroundCallback callback,
                           IExecutor service)
 {
     _client   = client;
     _callback = callback;
     _service  = service;
 }
예제 #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();
 }
예제 #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;
 }
예제 #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;
 }
예제 #13
0
 public IErrorListenerPathable <byte[]> inBackground(IBackgroundCallback callback, Object context, IExecutor executor)
 {
     backgrounding = new Backgrounding(client, callback, context, executor);
     return(this);
 }
예제 #14
0
 public IErrorListenerPathable <byte[]> inBackground(IBackgroundCallback callback, Object context)
 {
     backgrounding = new Backgrounding(callback, context);
     return(this);
 }
예제 #15
0
 public ErrorListenerPathAndBytesable <String> inBackground(IBackgroundCallback callback)
 {
     backgrounding = new Backgrounding(callback);
     return(this);
 }
예제 #16
0
 public ErrorListenerPathAndBytesable <String> inBackground(IBackgroundCallback callback, Object context, IExecutor executor)
 {
     return(_createBuilderImpl.inBackground(callback, context, executor));
 }
예제 #17
0
 public ErrorListenerPathAndBytesable <String> inBackground(IBackgroundCallback callback)
 {
     return(_createBuilderImpl.inBackground(callback));
 }
예제 #18
0
 internal Backgrounding()
 {
     inBackgrnd = false;
     context = null;
     this.callback = null;
     errorListener = null;
 }
예제 #19
0
 public ErrorListenerPathAndBytesable <Stat> inBackground(IBackgroundCallback callback, IExecutor executor)
 {
     return(_setDataBuilderImpl.inBackground(callback, executor));
 }
예제 #20
0
 public ErrorListenerPathAndBytesable <Stat> inBackground(IBackgroundCallback callback, Object context)
 {
     backgrounding = new Backgrounding(callback, context);
     return(this);
 }
예제 #21
0
 public BackgroundCallback(CuratorFrameworkImpl client, 
                             IBackgroundCallback callback, 
                             IExecutor service)
 {
     _client = client;
     _callback = callback;
     _service = service;
 }
 public IErrorListenerPathable <List <String> > inBackground(IBackgroundCallback callback)
 {
     backgrounding = new Backgrounding(callback);
     return(this);
 }
예제 #23
0
 public IErrorListenerPathable <byte[]> inBackground(IBackgroundCallback callback, Object context)
 {
     return(_getDataBuilderImpl.inBackground(callback, context));
 }
예제 #24
0
 public ErrorListenerPathAndBytesable <Stat> inBackground(IBackgroundCallback callback, Object context)
 {
     return(_setDataBuilderImpl.inBackground(callback, context));
 }
예제 #25
0
 public ErrorListenerPathAndBytesable <Stat> inBackground(IBackgroundCallback callback, IExecutor executor)
 {
     backgrounding = new Backgrounding(client, callback, executor);
     return(this);
 }
예제 #26
0
 public IErrorListenerPathable <byte[]> inBackground(IBackgroundCallback callback, IExecutor executor)
 {
     return(_getDataBuilderImpl.inBackground(callback, executor));
 }
예제 #27
0
 private static IBackgroundCallback wrapCallback(CuratorFrameworkImpl client,
                                                 IBackgroundCallback callback,
                                                 IExecutor executor)
 {
     return(new BackgroundCallback(client, callback, executor));
 }
 public IErrorListenerPathable <List <String> > inBackground(IBackgroundCallback callback, IExecutor executor)
 {
     backgrounding = new Backgrounding(client, callback, executor);
     return(this);
 }
예제 #29
0
 private static IBackgroundCallback wrapCallback(CuratorFrameworkImpl client, 
                                                 IBackgroundCallback callback, 
                                                 IExecutor executor)
 {
     return new BackgroundCallback(client,callback, executor);
 }