XNIO API 3.0.4.GA

org.xnio
Interface IoFuture.Notifier<T,A>

Type Parameters:
T - the type of result that the associated future operation produces
A - 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.
 

Method Detail

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 operation
attachment - the attachment

XNIO API 3.0.4.GA

Copyright © 2010 JBoss, a division of Red Hat, Inc.