示例#1
0
 public OutgoingAsyncT(Ice.IObjectPrx prx,
                       IOutgoingAsyncCompletionCallback completionCallback,
                       Ice.OutputStream?os = null,
                       Ice.InputStream?iss = null) :
     base(prx, completionCallback, os, iss)
 {
 }
示例#2
0
 public OutgoingAsync(Ice.IObjectPrx prx, IOutgoingAsyncCompletionCallback completionCallback,
                      Ice.OutputStream?os = null, Ice.InputStream?iss = null) :
     base(prx, completionCallback, os, iss)
 {
     Encoding    = Protocol.getCompatibleEncoding(Proxy.IceReference.GetEncoding());
     Synchronous = false;
 }
示例#3
0
 public OutgoingAsync(Ice.IObjectPrx prx, IOutgoingAsyncCompletionCallback completionCallback,
                      Ice.OutputStream?os = null, Ice.InputStream?iss = null, bool oneway = false) :
     base(prx, completionCallback, os, iss)
 {
     Encoding    = Proxy.Encoding;
     Synchronous = false;
     IsOneway    = oneway;
 }
示例#4
0
 protected ProxyOutgoingAsyncBase(Ice.IObjectPrx prx,
                                  IOutgoingAsyncCompletionCallback 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;
 }
示例#5
0
 protected ProxyOutgoingAsyncBase(Ice.IObjectPrx prx,
                                  IOutgoingAsyncCompletionCallback completionCallback,
                                  Ice.OutputStream?os = null,
                                  Ice.InputStream?iss = null) :
     base(prx.Communicator, completionCallback, os, iss)
 {
     Proxy        = prx;
     IsIdempotent = false;
     IsOneway     = false;
     _cnt         = 0;
     _sent        = false;
 }
示例#6
0
 protected OutgoingAsyncBase(Ice.Communicator communicator, IOutgoingAsyncCompletionCallback 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);
     }
 }