org.fusesource.mqtt.client
Interface Future<T>

All Known Implementing Classes:
Promise

public interface Future<T>

A simplified Future function results interface.

Author:
Hiram Chirino

Method Summary
 T await()
           
 T await(long amount, java.util.concurrent.TimeUnit unit)
           
 void then(Callback<T> callback)
           
 

Method Detail

await

T await()
        throws java.lang.Exception
Throws:
java.lang.Exception

await

T await(long amount,
        java.util.concurrent.TimeUnit unit)
        throws java.lang.Exception
Throws:
java.lang.Exception

then

void then(Callback<T> callback)


Copyright © 2010-2019 FuseSource, Corp.. All Rights Reserved.