public abstract class AbstractThreadedOperation extends AbstractSynchronizableOperation implements java.lang.Runnable
AbstractThreadedOperation
is an asynchronous executed
operation.
By calling AbstractSynchronizableOperation.execute()
, a new Thread
is created. Subclasses
have to implement runInternal()
. All delegates will be notified
after runInternal()
completes without exception. If an exception
occurred, an event will be fired that leads
IOperationDelegate.onOperationFailed(IOperation)
to be called.
OPERATION_FAILED, OPERATION_SUCCESSFUL
Constructor and Description |
---|
AbstractThreadedOperation() |
Modifier and Type | Method and Description |
---|---|
void |
run() |
addOperationDelegate, execute, getRawResult, getResponse, getResult, getResult, getResultCode, removeOperationDelegate, setCacheHandler, setResponse