Errai 3.0.1-SNAPSHOT

org.jboss.errai.bus.client.api.builder
Interface RemoteCallEndpointDef


public interface RemoteCallEndpointDef

This interface, RemoteCallEndpointDef is a template for creating a remote call endpoint. It ensures that the endpoint is constructed properly


Method Summary
 RemoteCallResponseDef endpoint(String endPointName)
          Sets the endpoint for a message using the specified name
 RemoteCallResponseDef endpoint(String endPointName, Annotation[] qualifiers, Object[] args)
          Sets the endpoint for a message using the specified name
 RemoteCallResponseDef endpoint(String endPointName, Object[] args)
          Sets the endpoint for a message using the specified name
 

Method Detail

endpoint

RemoteCallResponseDef endpoint(String endPointName)
Sets the endpoint for a message using the specified name

Parameters:
endPointName - - name of endpoint
Returns:
an instance of RemoteCallResponseDef

endpoint

RemoteCallResponseDef endpoint(String endPointName,
                               Object[] args)
Sets the endpoint for a message using the specified name

Parameters:
endPointName - - name of endpoint
args - - the parameters for the endpoint function
Returns:
an instance of RemoteCallResponseDef

endpoint

RemoteCallResponseDef endpoint(String endPointName,
                               Annotation[] qualifiers,
                               Object[] args)
Sets the endpoint for a message using the specified name

Parameters:
endPointName - - name of endpoint
qualifiers - - qualifiers to transmit along with the call
args - - the parameters for the endpoint function
Returns:
an instance of RemoteCallResponseDef

Errai 3.0.1-SNAPSHOT

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