com.caucho.bam.proxy
Class ReplyFutureCallback<T>

java.lang.Object
  extended by com.caucho.bam.proxy.ReplyFutureCallback<T>
All Implemented Interfaces:
ReplyCallback<T>

public class ReplyFutureCallback<T>
extends java.lang.Object
implements ReplyCallback<T>

callback for a proxy rpc.


Constructor Summary
ReplyFutureCallback()
           
 
Method Summary
 T get(long timeout)
           
 void onError(BamError error)
           
 void onReply(T result)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplyFutureCallback

public ReplyFutureCallback()
Method Detail

onReply

public void onReply(T result)
Specified by:
onReply in interface ReplyCallback<T>

onError

public void onError(BamError error)
Specified by:
onError in interface ReplyCallback<T>

get

public T get(long timeout)