
public class DelegatingDispatchRequest extends Object implements DispatchRequest
DispatchRequest that is used in conjunction with
ClientActionHandlers.
As the ClientActionHandler may be provided asynchronously, the ClientActionHandlerDispatchRequest will
initially not contain an DispatchRequest.
Once the ClientActionHandler is executed, this be populated
with a DelegatingDispatchRequest by calling setDelegate(DispatchRequest).| Constructor and Description |
|---|
DelegatingDispatchRequest() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
boolean |
isPending() |
void |
setDelegate(DispatchRequest delegate)
Populates the
DelegatingDispatchRequest object with a DispatchRequest. |
public void setDelegate(DispatchRequest delegate)
DelegatingDispatchRequest object with a DispatchRequest.
If the code that requested the command to be executed has already chosen to cancel the DispatchRequest,
the DispatchRequest that has been passed will be immediately cancelled.delegate - The DispatchRequest object.public void cancel()
cancel in interface DispatchRequestpublic boolean isPending()
isPending in interface DispatchRequestCopyright © 2010-2014 ArcBees. All Rights Reserved.