code: public <T> T receiveResponse(byte[] bytes, Class<T> returnType) throws IOException, WsonrpcException, RemoteException {
          JsonRpcMessage msg;
          try {
              msg = receive(bytes);
          } catch (JsonException e) {
              throw new WsonrpcException("parse response error", e);
          }
          if (msg instanceof JsonRpcResponse) {
              return convertResponse((JsonRpcResponse) msg, returnType);
          } else {
              throw new WsonrpcException("invalid response");
          }
      }
docs: 接收远程调用得到的回复，从回复中返回指定类型的对象。
  
  @param bytes      接收到的字节数组
  @param returnType 返回的对象类型
  @return 返回指定类型的对象
  @throws IOException      IO错误
  @throws WsonrpcException
  @throws RemoteException  远程方法抛出异常