org.jboss.xnio
Interface IoFuture.Notifier<T,A>
- Type Parameters:
T - the type of result that the associated future operation producesA - the attachment type
- All Superinterfaces:
- EventListener
- All Known Implementing Classes:
- IoFuture.HandlingNotifier
- Enclosing interface:
- IoFuture<T>
public static interface IoFuture.Notifier<T,A>
- extends EventListener
A notifier that handles changes in the status of an IoFuture.
|
Method Summary |
void |
notify(IoFuture<? extends T> ioFuture,
A attachment)
Receive notification of the completion of an outstanding operation. |
notify
void notify(IoFuture<? extends T> ioFuture,
A attachment)
- Receive notification of the completion of an outstanding operation.
- Parameters:
ioFuture - the future corresponding to this operationattachment - the attachment
Copyright © 2010 JBoss, a division of Red Hat, Inc.