C
- the type of the context objectpublic interface Handler<C>
A callback abstraction that handles completed/failed events of asynchronous operations.
Instances of this class capture a context that is made available on the completion callback.
Modifier and Type | Interface and Description |
---|---|
static class |
Handler.Adapter<C>
Empty implementation of
Handler |
void completed(C context)
Callback invoked when the operation completes.
context
- the contextfailed(Object, Throwable)
Copyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.