Search in sources :

Example 1 with QuickRpcServer

use of com.tvd12.quick.rpc.server.QuickRpcServer in project ezyfox-examples by tvd12.

the class HellWorldRpcServerExample method main.

public static void main(String[] args) throws Exception {
    RpcRequestHandlerImplementer.setDebug(true);
    QuickRpcSettings settings = QuickRpcSettings.builder().username("admin").password("admin").build();
    QuickRpcServer server = new QuickRpcServer(settings).scan("com.tvd12.quick.rpc.examples.hello_world");
    server.start();
}
Also used : QuickRpcSettings(com.tvd12.quick.rpc.server.setting.QuickRpcSettings) QuickRpcServer(com.tvd12.quick.rpc.server.QuickRpcServer)

Aggregations

QuickRpcServer (com.tvd12.quick.rpc.server.QuickRpcServer)1 QuickRpcSettings (com.tvd12.quick.rpc.server.setting.QuickRpcSettings)1