public final class RemoteTaskEventProcessor<C extends ClientContext> extends java.lang.Object implements ClientObject<C>
RemoteTaskEvents received by the given RemoteTaskEventIterator and forwards the
the events to the receiving RemoteTaskEventReceiver. Iteration continues in any case until the FINISHED event is
received. After finishing a received cancelled event leads to a CancellationException, a FAILED event leads to an
according Exception to be thrown.| Constructor and Description |
|---|
RemoteTaskEventProcessor(RemoteTaskId remoteTaskId,
RemoteTaskEventReceiver receivingTask) |
| Modifier and Type | Method and Description |
|---|---|
C |
getClientContext()
Returns the the client runtime environment
|
void |
processEvents() |
public RemoteTaskEventProcessor(RemoteTaskId remoteTaskId, RemoteTaskEventReceiver receivingTask) throws java.lang.Exception
java.lang.Exceptionpublic final C getClientContext()
ClientObjectgetClientContext in interface ClientObject<C extends ClientContext>public void processEvents()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2014 EsprIT-Systems. All Rights Reserved.