org.jboss.errai.bus.client.api.builder
Interface RemoteCallResponseDef
public interface RemoteCallResponseDef
This interface, RemoteCallResponseDef is a template for creating a remote call response. It ensures that
the response point is constructed properly
Method Summary |
|
respondTo(Class<T> returnType,
RemoteCallback<T> callback)
Sets the callback response function, which is called after an endpoint is reached |
respondTo
<T> RemoteCallErrorDef respondTo(Class<T> returnType,
RemoteCallback<T> callback)
- Sets the callback response function, which is called after an endpoint is reached
- Parameters:
returnType
- - the return type of the callback functioncallback
- - the callback function
- Returns:
- an instance of RemoteCallErrorDef
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.