예제 #1
0
 public OutgoingAsyncT(Ice.IObjectPrx prx,
                       OutgoingAsyncCompletionCallback completionCallback,
                       Ice.OutputStream?os = null,
                       Ice.InputStream?iss = null) :
     base(prx, completionCallback, os, iss)
 {
 }
예제 #2
0
 public OutgoingAsync(Ice.IObjectPrx prx, OutgoingAsyncCompletionCallback completionCallback,
                      Ice.OutputStream?os = null, Ice.InputStream?iss = null) :
     base(prx, completionCallback, os, iss)
 {
     encoding_    = Protocol.getCompatibleEncoding(proxy_.IceReference.getEncoding());
     synchronous_ = false;
 }
예제 #3
0
 protected ProxyOutgoingAsyncBase(Ice.IObjectPrx prx,
                                  OutgoingAsyncCompletionCallback completionCallback,
                                  Ice.OutputStream?os = null,
                                  Ice.InputStream?iss = null) :
     base(prx.Communicator, completionCallback, os, iss)
 {
     proxy_ = prx;
     mode_  = Ice.OperationMode.Normal;
     _cnt   = 0;
     _sent  = false;
 }
예제 #4
0
 protected ProxyOutgoingAsyncBase(Ice.ObjectPrxHelperBase prx,
                                  OutgoingAsyncCompletionCallback completionCallback,
                                  Ice.OutputStream os = null,
                                  Ice.InputStream iss = null) :
     base(prx.iceReference().getInstance(), completionCallback, os, iss)
 {
     proxy_ = prx;
     mode_  = Ice.OperationMode.Normal;
     _cnt   = 0;
     _sent  = false;
 }
예제 #5
0
 protected OutgoingAsyncBase(Ice.Communicator communicator, OutgoingAsyncCompletionCallback completionCallback,
                             Ice.OutputStream?os = null, Ice.InputStream?iss = null)
 {
     communicator_      = communicator;
     sentSynchronously_ = false;
     synchronous_       = false;
     _doneInSent        = false;
     _alreadySent       = false;
     state_             = 0;
     os_ = os ?? new Ice.OutputStream(communicator, Ice.Util.currentProtocolEncoding);
     is_ = iss ?? new Ice.InputStream(communicator, Ice.Util.currentProtocolEncoding);
     _completionCallback = completionCallback;
     if (_completionCallback != null)
     {
         _completionCallback.init(this);
     }
 }
예제 #6
0
 protected OutgoingAsyncBase(Instance instance, OutgoingAsyncCompletionCallback completionCallback,
                             Ice.OutputStream os = null, Ice.InputStream iss = null)
 {
     instance_          = instance;
     sentSynchronously_ = false;
     synchronous_       = false;
     _doneInSent        = false;
     _alreadySent       = false;
     state_             = 0;
     os_ = os ?? new Ice.OutputStream(instance, Ice.Util.currentProtocolEncoding);
     is_ = iss ?? new Ice.InputStream(instance, Ice.Util.currentProtocolEncoding);
     _completionCallback = completionCallback;
     if (_completionCallback != null)
     {
         _completionCallback.init(this);
     }
 }
예제 #7
0
 public ProxyGetConnection(Ice.IObjectPrx prx, OutgoingAsyncCompletionCallback completionCallback) :
     base(prx, completionCallback)
 {
 }