use of org.smartdata.common.protocol.AdminServerProto.GetRuleInfoResponseProto in project SSM by Intel-bigdata.
the class SmartAdminProtocolAdminSideTranslatorPB method getRuleInfo.
@Override
public RuleInfo getRuleInfo(long id) throws IOException {
try {
GetRuleInfoRequestProto req = GetRuleInfoRequestProto.newBuilder().setRuleId(id).build();
GetRuleInfoResponseProto r = rpcProxy.getRuleInfo(null, req);
return PBHelper.convert(r.getResult());
} catch (ServiceException e) {
throw PBHelper.getRemoteException(e);
}
}
Aggregations