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

All Known Implementing Classes:
Promise, ProxyCallback

public interface Callback<T>

Function Result that carries one value.

Author:
Hiram Chirino

Method Summary
 void onFailure(java.lang.Throwable value)
           
 void onSuccess(T value)
           
 

Method Detail

onSuccess

void onSuccess(T value)

onFailure

void onFailure(java.lang.Throwable value)


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