Ejemplo n.º 1
0
 public int SeteBayOrder(SeteBayOrderRequest Request)
 {
     send_SeteBayOrder(Request);
     return recv_SeteBayOrder();
 }
Ejemplo n.º 2
0
 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 SeteBayOrderRequest();
     Request.Read(iprot);
       } else {
     TProtocolUtil.Skip(iprot, field.Type);
       }
       break;
     default:
       TProtocolUtil.Skip(iprot, field.Type);
       break;
       }
       iprot.ReadFieldEnd();
     }
     iprot.ReadStructEnd();
 }
Ejemplo n.º 3
0
 public void send_SeteBayOrder(SeteBayOrderRequest Request)
 {
     oprot_.WriteMessageBegin(new TMessage("SeteBayOrder", TMessageType.Call, seqid_));
     SeteBayOrder_args args = new SeteBayOrder_args();
     args.Request = Request;
     args.Write(oprot_);
     oprot_.WriteMessageEnd();
     oprot_.Transport.Flush();
 }