org.apache.activemq.util
Class PromiseCallback<T>

java.lang.Object
  extended by org.apache.activemq.util.PromiseCallback<T>
Direct Known Subclasses:
Promise

public abstract class PromiseCallback<T>
extends Object


Constructor Summary
PromiseCallback()
           
 
Method Summary
abstract  void onComplete(T value, Throwable error)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PromiseCallback

public PromiseCallback()
Method Detail

onComplete

public abstract void onComplete(T value,
                                Throwable error)


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.