@Override public GetAclStatusResponseProto getAclStatus(RpcController controller, GetAclStatusRequestProto req) throws ServiceException { try { return PBHelper.convert(server.getAclStatus(req.getSrc())); } catch (IOException e) { throw new ServiceException(e); } }
@Override public AclStatus getAclStatus(String src) throws IOException { GetAclStatusRequestProto req = GetAclStatusRequestProto.newBuilder() .setSrc(src).build(); try { return PBHelper.convert(rpcProxy.getAclStatus(null, req)); } catch (ServiceException e) { throw ProtobufHelper.getRemoteException(e); } }
@Override public AclStatus getAclStatus(String src) throws IOException { GetAclStatusRequestProto req = GetAclStatusRequestProto.newBuilder() .setSrc(src).build(); try { return PBHelperClient.convert(rpcProxy.getAclStatus(null, req)); } catch (ServiceException e) { throw ProtobufHelper.getRemoteException(e); } }
@Override public GetAclStatusResponseProto getAclStatus(RpcController controller, GetAclStatusRequestProto req) throws ServiceException { try { return PBHelperClient.convert(server.getAclStatus(req.getSrc())); } catch (IOException e) { throw new ServiceException(e); } }