public abstract class SimpleFutureListener<V>
extends java.lang.Object
implements io.netty.util.concurrent.FutureListener<V>
Constructor and Description |
---|
SimpleFutureListener() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
onFailure(java.lang.Throwable t) |
protected abstract void |
onSuccess(V value) |
void |
operationComplete(io.netty.util.concurrent.Future<V> future) |
public final void operationComplete(io.netty.util.concurrent.Future<V> future) throws java.lang.Exception
operationComplete
in interface io.netty.util.concurrent.GenericFutureListener<io.netty.util.concurrent.Future<V>>
java.lang.Exception
protected abstract void onSuccess(V value) throws java.lang.Exception
java.lang.Exception
protected abstract void onFailure(java.lang.Throwable t) throws java.lang.Exception
java.lang.Exception
Copyright © 2018. All Rights Reserved.