@Retention(value=CLASS)
@Target(value=TYPE)
public @interface RPCfy
An RPCfy'ed interface generates Proxy and Stubs which enables the interface to be used for RPC
The generated XXXX__JsonRpcProxy class implements this given interface and maps the
calls to it to the a JSONRPC messages. These messages can then be transported to the
actual implementation using the provided JsonRPCMessageHandler
.
Once the JSONRPC message reaches the server side, it is passed on to the generated instance of XXXX_JsonRpcStub class, which de-serializes the given JSONRPC message and calls the remote method and passes the result back.
JsonRPCMessageHandler