Package | Description |
---|---|
org.xnio |
The main API package for XNIO.
|
org.xnio._private |
Modifier and Type | Class and Description |
---|---|
static class |
IoFuture.HandlingNotifier<T,A>
A base notifier class that calls the designated handler method on notification.
|
Modifier and Type | Method and Description |
---|---|
static IoFuture.Notifier<Object,Closeable> |
IoUtils.attachmentClosingNotifier()
Get a notifier that closes the attachment.
|
static <T extends Channel> |
IoUtils.channelListenerNotifier()
Get the notifier that invokes the channel listener given as an attachment.
|
static IoFuture.Notifier<Closeable,Void> |
IoUtils.closingNotifier()
Get a notifier that closes the result.
|
static <T> IoFuture.Notifier<T,FutureResult<T>> |
IoUtils.getManagerNotifier()
Get a notifier which forwards the result to another
IoFuture 's manager. |
static <T> IoFuture.Notifier<T,Result<T>> |
IoUtils.resultNotifier()
Get the result notifier.
|
static <T> IoFuture.Notifier<T,Void> |
IoUtils.runnableNotifier(Runnable runnable)
Get a notifier that runs the supplied action.
|
Modifier and Type | Method and Description |
---|---|
<A> IoFuture<T> |
IoFuture.addNotifier(IoFuture.Notifier<? super T,A> notifier,
A attachment)
Add a notifier to be called when this operation is complete.
|
<A> IoFuture<T> |
FinishedIoFuture.addNotifier(IoFuture.Notifier<? super T,A> notifier,
A attachment) |
<A> IoFuture<T> |
AbstractIoFuture.addNotifier(IoFuture.Notifier<? super T,A> notifier,
A attachment)
Add a notifier to be called when this operation is complete.
|
<A> IoFuture<T> |
AbstractConvertingIoFuture.addNotifier(IoFuture.Notifier<? super T,A> notifier,
A attachment) |
Modifier and Type | Method and Description |
---|---|
void |
Messages.notifierFailed(Throwable cause,
IoFuture.Notifier<?,?> notifier) |
void |
Messages_$logger.notifierFailed(Throwable cause,
IoFuture.Notifier<? extends Object,? extends Object> notifier) |
Copyright © 2017 JBoss by Red Hat. All rights reserved.