/// <exception cref="System.IO.IOException"/> public virtual KillJobResponse KillJob(KillJobRequest request) { MRServiceProtos.KillJobRequestProto requestProto = ((KillJobRequestPBImpl)request ).GetProto(); try { return(new KillJobResponsePBImpl(proxy.KillJob(null, requestProto))); } catch (ServiceException e) { throw UnwrapAndThrowException(e); } }
/// <exception cref="Com.Google.Protobuf.ServiceException"/> public virtual MRServiceProtos.KillJobResponseProto KillJob(RpcController controller , MRServiceProtos.KillJobRequestProto proto) { KillJobRequest request = new KillJobRequestPBImpl(proto); try { KillJobResponse response = real.KillJob(request); return(((KillJobResponsePBImpl)response).GetProto()); } catch (IOException e) { throw new ServiceException(e); } }