Esempio n. 1
0
 public void unblockContact_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   unblockContact_args args = new unblockContact_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   unblockContact_result result = new unblockContact_result();
   try {
     iface_.unblockContact(args.ReqSeq, args.Id);
   } catch (TalkException e) {
     result.E = e;
   }
   oprot.WriteMessageBegin(new TMessage("unblockContact", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
Esempio n. 2
0
 public void send_unblockContact(int reqSeq, string id)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("unblockContact", TMessageType.Call, seqid_));
   unblockContact_args args = new unblockContact_args();
   args.ReqSeq = reqSeq;
   args.Id = id;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }