Package com.chenshuo.muduo.protorpc.RpcServiceProto

Examples of com.chenshuo.muduo.protorpc.RpcServiceProto.GetServiceRequest


        ListRpcResponse response = rpcService.listRpc(null, request);
        System.out.println(response);
    }

    public void getService(String service) throws Exception {
        GetServiceRequest request = GetServiceRequest.newBuilder().setServiceName(service).build();
        GetServiceResponse response = rpcService.getService(null, request);
        System.out.println(response.getError());
        for (int i = 0; i < response.getProtoFileCount(); ++i) {
            System.out.println(response.getProtoFileName(i));
            System.out.println(response.getProtoFile(i));
View Full Code Here

TOP

Related Classes of com.chenshuo.muduo.protorpc.RpcServiceProto.GetServiceRequest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.