コード例 #1
0
 public void getSkillSummary_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   getSkillSummary_args args = new getSkillSummary_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   getSkillSummary_result result = new getSkillSummary_result();
   try {
     result.Success = iface_.getSkillSummary(args.Skill, args.Session);
   } catch (UserException ex) {
     result.Ex = ex;
   } catch (SessionException se) {
     result.Se = se;
   }
   oprot.WriteMessageBegin(new TMessage("getSkillSummary", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
コード例 #2
0
 public void send_getSkillSummary(Skill skill, Session session)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("getSkillSummary", TMessageType.Call, seqid_));
   getSkillSummary_args args = new getSkillSummary_args();
   args.Skill = skill;
   args.Session = session;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }