public abstract class ProxyOutgoingAsyncBase extends OutgoingAsyncBase
| Modifier and Type | Field and Description |
|---|---|
protected RequestHandler |
_handler |
protected OperationMode |
_mode |
protected ObjectPrxHelperBase |
_proxy |
_childObserver, _os_cachedConnection, _instance, _observer, _sentSynchronously, _state, StateCachedBuffers, StateDone, StateEndCalled, StateOK, StateSent| Modifier | Constructor and Description |
|---|---|
protected |
ProxyOutgoingAsyncBase(ObjectPrxHelperBase prx,
java.lang.String op,
CallbackBase delegate) |
protected |
ProxyOutgoingAsyncBase(ObjectPrxHelperBase prx,
java.lang.String op,
CallbackBase delegate,
BasicStream os) |
| Modifier and Type | Method and Description |
|---|---|
void |
abort(Exception ex) |
void |
cancelable(CancellationHandler handler) |
static ProxyOutgoingAsyncBase |
check(AsyncResult r,
ObjectPrx prx,
java.lang.String operation) |
protected static AsyncResult |
checkImpl(AsyncResult r,
ObjectPrx p,
java.lang.String operation) |
boolean |
completed(Exception exc) |
protected boolean |
finished(boolean ok) |
protected boolean |
finished(Exception ex) |
ObjectPrx |
getProxy()
Returns the proxy that was used to call the
begin_ method, or nil
if this AsyncResult object was not obtained via an asynchronous proxy invocation. |
protected int |
handleException(Exception exc) |
abstract int |
invokeCollocated(CollocatedRequestHandler handler) |
protected void |
invokeImpl(boolean userThread) |
abstract int |
invokeRemote(ConnectionI con,
boolean compress,
boolean response) |
void |
retry() |
void |
retryException(Exception ex) |
protected boolean |
sent(boolean done) |
attachCollocatedObserver, attachRemoteObserver, completed, getOs, sent__wait, cacheMessageBuffers, cancel, cancel, check, getCommunicator, getConnection, getObserver, getOperation, invokeCompleted, invokeCompletedAsync, invokeSent, invokeSentAsync, isCompleted, isSent, sentSynchronously, throwLocalException, waitForCompleted, waitForSentprotected final ObjectPrxHelperBase _proxy
protected RequestHandler _handler
protected OperationMode _mode
protected ProxyOutgoingAsyncBase(ObjectPrxHelperBase prx, java.lang.String op, CallbackBase delegate)
protected ProxyOutgoingAsyncBase(ObjectPrxHelperBase prx, java.lang.String op, CallbackBase delegate, BasicStream os)
public static ProxyOutgoingAsyncBase check(AsyncResult r, ObjectPrx prx, java.lang.String operation)
public abstract int invokeRemote(ConnectionI con, boolean compress, boolean response) throws RetryException
RetryExceptionpublic abstract int invokeCollocated(CollocatedRequestHandler handler)
public ObjectPrx getProxy()
AsyncResultbegin_ method, or nil
if this AsyncResult object was not obtained via an asynchronous proxy invocation.getProxy in interface AsyncResultgetProxy in class AsyncResultIpublic boolean completed(Exception exc)
completed in class OutgoingAsyncBasepublic void retryException(Exception ex)
public void retry()
public void cancelable(CancellationHandler handler)
cancelable in class AsyncResultIpublic void abort(Exception ex)
protected static AsyncResult checkImpl(AsyncResult r, ObjectPrx p, java.lang.String operation)
protected void invokeImpl(boolean userThread)
protected boolean sent(boolean done)
sent in class OutgoingAsyncBaseprotected boolean finished(Exception ex)
finished in class OutgoingAsyncBaseprotected boolean finished(boolean ok)
finished in class AsyncResultIprotected int handleException(Exception exc)