Beispiel #1
0
 public void syncContactBySnsIds_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   syncContactBySnsIds_args args = new syncContactBySnsIds_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   syncContactBySnsIds_result result = new syncContactBySnsIds_result();
   try {
     result.Success = iface_.syncContactBySnsIds(args.ReqSeq, args.Modifications);
   } catch (TalkException e) {
     result.E = e;
   }
   oprot.WriteMessageBegin(new TMessage("syncContactBySnsIds", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
Beispiel #2
0
 public void send_syncContactBySnsIds(int reqSeq, List<SnsFriendModification> modifications)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("syncContactBySnsIds", TMessageType.Call, seqid_));
   syncContactBySnsIds_args args = new syncContactBySnsIds_args();
   args.ReqSeq = reqSeq;
   args.Modifications = modifications;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }