Errai 3.0.1-SNAPSHOT

org.jboss.errai.common.client.api
Class VoidCallback

java.lang.Object
  extended by org.jboss.errai.common.client.api.VoidCallback
All Implemented Interfaces:
RemoteCallback<Void>

public class VoidCallback
extends Object
implements RemoteCallback<Void>

Author:
Mike Brock

Constructor Summary
VoidCallback()
           
 
Method Summary
 void callback(Void response)
          Invoked by the RPC proxy after the remote method has been executed and its response has been received.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VoidCallback

public VoidCallback()
Method Detail

callback

public void callback(Void response)
Description copied from interface: RemoteCallback
Invoked by the RPC proxy after the remote method has been executed and its response has been received.

Specified by:
callback in interface RemoteCallback<Void>
Parameters:
response - the response returned from the remote call. Will be null if the remote method returns null or has a void return type.

Errai 3.0.1-SNAPSHOT

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