public abstract class CancellationListener
extends java.lang.Object
Listener for notification of request cancellation.
Constructor and Description |
---|
CancellationListener() |
Modifier and Type | Method and Description |
---|---|
abstract void |
onCancel(CancelToken token)
Notify the cancellation of
token . |
public abstract void onCancel(CancelToken token)
Notify the cancellation of token
.
token
- Cancellation token.