public void send_get_type(string name) { oprot_.WriteMessageBegin(new TMessage("get_type", TMessageType.Call, seqid_)); get_type_args args = new get_type_args(); args.Name = name; args.Write(oprot_); oprot_.WriteMessageEnd(); oprot_.Transport.Flush(); }
public void get_type_Process(int seqid, TProtocol iprot, TProtocol oprot) { get_type_args args = new get_type_args(); args.Read(iprot); iprot.ReadMessageEnd(); get_type_result result = new get_type_result(); try { result.Success = iface_.get_type(args.Name); } catch (MetaException o1) { result.O1 = o1; } catch (NoSuchObjectException o2) { result.O2 = o2; } oprot.WriteMessageBegin(new TMessage("get_type", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }