コード例 #1
0
 public OutgoingAsyncT(Ice.IObjectPrx prx,
                       IOutgoingAsyncCompletionCallback completionCallback,
                       Ice.OutgoingRequestFrame?requestFrame = null,
                       Ice.InputStream?iss = null) :
     base(prx, completionCallback, requestFrame, iss)
 {
 }
コード例 #2
0
 public OutgoingAsyncT(Ice.IObjectPrx prx,
                       IOutgoingAsyncCompletionCallback completionCallback,
                       Ice.OutputStream?os = null,
                       Ice.InputStream?iss = null) :
     base(prx, completionCallback, os, iss)
 {
 }
コード例 #3
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;
 }
コード例 #4
0
 public OutgoingAsync(Ice.IObjectPrx prx, IOutgoingAsyncCompletionCallback completionCallback,
                      Ice.OutgoingRequestFrame?requestFrame = null, Ice.InputStream?iss = null, bool oneway = false) :
     base(prx, completionCallback, requestFrame, iss)
 {
     Encoding    = Proxy.Encoding;
     Synchronous = false;
     IsOneway    = oneway;
 }
コード例 #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;
     Mode  = Ice.OperationMode.Normal;
     _cnt  = 0;
     _sent = false;
 }
コード例 #6
0
 protected ProxyOutgoingAsyncBase(Ice.IObjectPrx prx,
                                  IOutgoingAsyncCompletionCallback completionCallback,
                                  OutgoingRequestFrame?requestFrame = null,
                                  Ice.InputStream?iss = null) :
     base(prx.Communicator, completionCallback, requestFrame, null, iss)
 {
     Proxy        = prx;
     IsIdempotent = false;
     IsOneway     = false;
     _cnt         = 0;
     _sent        = false;
 }
コード例 #7
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);
     }
 }
コード例 #8
0
 protected OutgoingAsyncBase(Ice.Communicator communicator, IOutgoingAsyncCompletionCallback completionCallback,
                             OutgoingRequestFrame?requestFrame = null, List <ArraySegment <byte> >?requestData = null,
                             Ice.InputStream?iss = null)
 {
     Communicator      = communicator;
     SentSynchronously = false;
     Synchronous       = false;
     _doneInSent       = false;
     _alreadySent      = false;
     State             = 0;
     RequestFrame      = requestFrame;
     RequestData       = requestData;
     Is = iss ?? new Ice.InputStream(communicator, Ice.Ice1Definitions.Encoding);
     _completionCallback = completionCallback;
     if (_completionCallback != null)
     {
         _completionCallback.Init(this);
     }
 }