|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fusesource.mqtt.client.Promise<T>
public class Promise<T>
| Constructor Summary | |
|---|---|
Promise()
|
|
| Method Summary | |
|---|---|
T |
await()
|
T |
await(long amount,
java.util.concurrent.TimeUnit unit)
|
void |
onFailure(java.lang.Throwable value)
|
void |
onSuccess(T value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Promise()
| Method Detail |
|---|
public void onFailure(java.lang.Throwable value)
onFailure in interface Callback<T>public void onSuccess(T value)
onSuccess in interface Callback<T>
public T await(long amount,
java.util.concurrent.TimeUnit unit)
throws java.lang.Exception
await in interface Future<T>java.lang.Exception
public T await()
throws java.lang.Exception
await in interface Future<T>java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||