public void recv_cancel_delegation_token() { TMessage msg = iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(iprot_); iprot_.ReadMessageEnd(); throw x; } cancel_delegation_token_result result = new cancel_delegation_token_result(); result.Read(iprot_); iprot_.ReadMessageEnd(); if (result.__isset.o1) { throw result.O1; } return; }
public void cancel_delegation_token_Process(int seqid, TProtocol iprot, TProtocol oprot) { cancel_delegation_token_args args = new cancel_delegation_token_args(); args.Read(iprot); iprot.ReadMessageEnd(); cancel_delegation_token_result result = new cancel_delegation_token_result(); try { iface_.cancel_delegation_token(args.Token_str_form); } catch (MetaException o1) { result.O1 = o1; } oprot.WriteMessageBegin(new TMessage("cancel_delegation_token", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }