com.googlecode.android_scripting.rpc
Annotation Type Rpc


@Retention(value=RUNTIME)
@Target(value=METHOD)
@Documented
public @interface Rpc

The Rpc annotation is used to annotate server-side implementations of RPCs. It describes meta-information (currently a brief documentation of the function), and marks a function as the implementation of an RPC.


Required Element Summary
 java.lang.String description
          Returns brief description of the function.
 
Optional Element Summary
 java.lang.String returns
          Gives a brief description of the functions return value (and the underlying data structure).
 

Element Detail

description

public abstract java.lang.String description
Returns brief description of the function. Should be limited to one or two sentences.

returns

public abstract java.lang.String returns
Gives a brief description of the functions return value (and the underlying data structure).

Default:
""