Exemple #1
0
        public int sendAsyncRequest(ProxyOutgoingAsyncBase outAsync)
        {
            lock (this)
            {
                if (!_initialized)
                {
                    outAsync.cancelable(this); // This will throw if the request is canceled
                }

                if (!initialized())
                {
                    _requests.AddLast(outAsync);
                    return(OutgoingAsyncBase.AsyncStatusQueued);
                }
            }
            return(outAsync.invokeRemote(_connection, _compress, _response));
        }
        public bool sendAsyncRequest(ProxyOutgoingAsyncBase outAsync, out Ice.AsyncCallback sentCallback)
        {
            lock (this)
            {
                if (!_initialized)
                {
                    outAsync.cancelable(this); // This will throw if the request is canceled
                }

                if (!initialized())
                {
                    _requests.AddLast(outAsync);
                    sentCallback = null;
                    return(false);
                }
            }
            return(outAsync.invokeRemote(_connection, _compress, _response, out sentCallback));
        }
Exemple #3
0
 public bool sendAsyncRequest(ProxyOutgoingAsyncBase outAsync, out Ice.AsyncCallback sentCallback)
 {
     return(outAsync.invokeRemote(_connection, _compress, _response, out sentCallback));
 }
 public int sendAsyncRequest(ProxyOutgoingAsyncBase outAsync)
 {
     return(outAsync.invokeRemote(_connection, _compress, _response));
 }