public override int invokeCollocated(CollocatedRequestHandler handler) { if (responseImpl(false, true, true)) { invokeResponseAsync(); } return(AsyncStatusSent); }
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)); }
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)); }
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)); }
public override bool invokeCollocated(CollocatedRequestHandler handler, out Ice.AsyncCallback sentCB) { sentCB = null; Ice.AsyncCallback cb = finished(true); if (cb != null) { invokeCompletedAsync(cb); } return(true); }
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_)); }
public abstract int InvokeCollocated(CollocatedRequestHandler handler);
public abstract bool invokeCollocated(CollocatedRequestHandler handler, out Ice.AsyncCallback cb);