private bool sentAsync(OutgoingAsyncBase outAsync) { lock (this) { if (!_sendAsyncRequests.Remove(outAsync)) { return(false); // The request timed-out. } if (!outAsync.sent()) { return(true); } } outAsync.invokeSent(); return(true); }
private bool sentAsync(OutgoingAsyncBase outAsync) { lock (this) { if (!_sendAsyncRequests.Remove(outAsync)) { return(false); // The request timed-out. } } Ice.AsyncCallback cb = outAsync.sent(); if (cb != null) { outAsync.invokeSent(cb); } return(true); }