Exemple #1
0
 public override int invokeCollocated(CollocatedRequestHandler handler)
 {
     if (responseImpl(false, true, true))
     {
         invokeResponseAsync();
     }
     return(AsyncStatusSent);
 }
Exemple #2
0
 public override bool invokeCollocated(CollocatedRequestHandler handler, out Ice.AsyncCallback sentCB)
 {
     if (_batchRequestNum == 0)
     {
         sentCB = sent();
         return(true);
     }
     return(handler.invokeAsyncRequest(this, _batchRequestNum, false, out sentCB));
 }
Exemple #3
0
 public override int InvokeCollocated(CollocatedRequestHandler handler)
 {
     // The stream cannot be cached if the proxy is not a twoway or there is an invocation timeout set.
     if (!Proxy.IsTwoway || Proxy.IceReference.GetInvocationTimeout() != -1)
     {
         // Disable caching by marking the streams as cached!
         State |= StateCachedBuffers;
     }
     return(handler.InvokeAsyncRequest(this, Synchronous));
 }
Exemple #4
0
 public override bool invokeCollocated(CollocatedRequestHandler handler, out Ice.AsyncCallback sentCB)
 {
     // The BasicStream cannot be cached if the proxy is not a twoway or there is an invocation timeout set.
     if (!proxy_.ice_isTwoway() || proxy_.reference__().getInvocationTimeout() != -1)
     {
         // Disable caching by marking the streams as cached!
         state_ |= StateCachedBuffers;
     }
     return(handler.invokeAsyncRequest(this, 0, _synchronous, out sentCB));
 }
Exemple #5
0
 public override bool invokeCollocated(CollocatedRequestHandler handler, out Ice.AsyncCallback sentCB)
 {
     sentCB = null;
     Ice.AsyncCallback cb = finished(true);
     if (cb != null)
     {
         invokeCompletedAsync(cb);
     }
     return(true);
 }
Exemple #6
0
 public override int invokeCollocated(CollocatedRequestHandler handler)
 {
     // The stream cannot be cached if the proxy is not a twoway or there is an invocation timeout set.
     if (!proxy_.ice_isTwoway() || proxy_.iceReference().getInvocationTimeout() != -1)
     {
         // Disable caching by marking the streams as cached!
         state_ |= StateCachedBuffers;
     }
     return(handler.invokeAsyncRequest(this, synchronous_));
 }
Exemple #7
0
 public abstract int InvokeCollocated(CollocatedRequestHandler handler);
Exemple #8
0
 public abstract bool invokeCollocated(CollocatedRequestHandler handler, out Ice.AsyncCallback cb);