Class PolicyServerRpcCommonUtils

java.lang.Object
com.mapr.baseutils.policyserverutils.PolicyServerRpcCommonUtils

public class PolicyServerRpcCommonUtils extends Object
  • Method Details

    • getInstance

      public static PolicyServerRpcCommonUtils getInstance()
    • getInstance

      public static PolicyServerRpcCommonUtils getInstance(int listenPort)
    • getPolicyServerLocations

      public void getPolicyServerLocations() throws Exception
      Throws:
      Exception
    • sendRequestToPolicyServer

      public byte[] sendRequestToPolicyServer(int procedureId, com.google.protobuf.MessageLite request, Class<? extends com.google.protobuf.MessageLite> responseClass) throws Exception
      Throws:
      Exception
    • sendRequestToPolicyServer

      public byte[] sendRequestToPolicyServer(String clusterName, int procedureId, com.google.protobuf.MessageLite request, Class<? extends com.google.protobuf.MessageLite> responseClass) throws Exception
      Throws:
      Exception