Errai 3.0.1-SNAPSHOT

org.jboss.errai.bus.server.api
Class ServerCallableFuture<T>

java.lang.Object
  extended by org.jboss.errai.bus.server.api.ServerCallableFuture<T>
All Implemented Interfaces:
CallableFuture<T>

public class ServerCallableFuture<T>
extends Object
implements CallableFuture<T>

Author:
Mike Brock

Constructor Summary
ServerCallableFuture()
           
 
Method Summary
 void setValue(T responseValue)
          The method called to provide the result value into the future.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerCallableFuture

public ServerCallableFuture()
Method Detail

setValue

public void setValue(T responseValue)
Description copied from interface: CallableFuture
The method called to provide the result value into the future. Calling this method immediately dispatches a response to the caller, completing the asynchronous call.

Specified by:
setValue in interface CallableFuture<T>
Parameters:
responseValue - the response value of the call.

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.