Example #1
0
 public void sendChatChecked_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   sendChatChecked_args args = new sendChatChecked_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   sendChatChecked_result result = new sendChatChecked_result();
   try {
     iface_.sendChatChecked(args.Seq, args.Consumer, args.LastMessageId);
   } catch (TalkException e) {
     result.E = e;
   }
   oprot.WriteMessageBegin(new TMessage("sendChatChecked", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
Example #2
0
 public void send_sendChatChecked(int seq, string consumer, string lastMessageId)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("sendChatChecked", TMessageType.Call, seqid_));
   sendChatChecked_args args = new sendChatChecked_args();
   args.Seq = seq;
   args.Consumer = consumer;
   args.LastMessageId = lastMessageId;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }