public int SetItemListingResult(SetItemListingResultRequest Request) { send_SetItemListingResult(Request); return recv_SetItemListingResult(); }
public void Read(TProtocol iprot) { TField field; iprot.ReadStructBegin(); while (true) { field = iprot.ReadFieldBegin(); if (field.Type == TType.Stop) { break; } switch (field.ID) { case 1: if (field.Type == TType.Struct) { Request = new SetItemListingResultRequest(); Request.Read(iprot); } else { TProtocolUtil.Skip(iprot, field.Type); } break; default: TProtocolUtil.Skip(iprot, field.Type); break; } iprot.ReadFieldEnd(); } iprot.ReadStructEnd(); }
public void send_SetItemListingResult(SetItemListingResultRequest Request) { oprot_.WriteMessageBegin(new TMessage("SetItemListingResult", TMessageType.Call, seqid_)); SetItemListingResult_args args = new SetItemListingResult_args(); args.Request = Request; args.Write(oprot_); oprot_.WriteMessageEnd(); oprot_.Transport.Flush(); }