コード例 #1
0
ファイル: GEP.cs プロジェクト: tomochandv/Test
 public void CBT_GEP_In_Set_eBay_AccountInfo_To_GEPAccountInfo_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     CBT_GEP_In_Set_eBay_AccountInfo_To_GEPAccountInfo_args args = new CBT_GEP_In_Set_eBay_AccountInfo_To_GEPAccountInfo_args();
       args.Read(iprot);
       iprot.ReadMessageEnd();
       CBT_GEP_In_Set_eBay_AccountInfo_To_GEPAccountInfo_result result = new CBT_GEP_In_Set_eBay_AccountInfo_To_GEPAccountInfo_result();
       try {
     result.Success = iface_.CBT_GEP_In_Set_eBay_AccountInfo_To_GEPAccountInfo(args.Request);
       } catch (ThriftException te) {
     result.Te = te;
       }
       oprot.WriteMessageBegin(new TMessage("CBT_GEP_In_Set_eBay_AccountInfo_To_GEPAccountInfo", TMessageType.Reply, seqid));
       result.Write(oprot);
       oprot.WriteMessageEnd();
       oprot.Transport.Flush();
 }
コード例 #2
0
ファイル: GEP.cs プロジェクト: tomochandv/Test
 public int recv_CBT_GEP_In_Set_eBay_AccountInfo_To_GEPAccountInfo()
 {
     TMessage msg = iprot_.ReadMessageBegin();
       if (msg.Type == TMessageType.Exception) {
     TApplicationException x = TApplicationException.Read(iprot_);
     iprot_.ReadMessageEnd();
     throw x;
       }
       CBT_GEP_In_Set_eBay_AccountInfo_To_GEPAccountInfo_result result = new CBT_GEP_In_Set_eBay_AccountInfo_To_GEPAccountInfo_result();
       result.Read(iprot_);
       iprot_.ReadMessageEnd();
       if (result.__isset.success) {
     return result.Success;
       }
       if (result.__isset.te) {
     throw result.Te;
       }
       throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "CBT_GEP_In_Set_eBay_AccountInfo_To_GEPAccountInfo failed: unknown result");
 }