public IAsyncResult send_sendMessage(AsyncCallback callback, object state, string message)
        {
            oprot_.WriteMessageBegin(new TMessage("sendMessage", TMessageType.Call, seqid_));
            sendMessage_args args = new sendMessage_args();

            args.Message = message;
            args.Write(oprot_);
            oprot_.WriteMessageEnd();
            return(oprot_.Transport.BeginFlush(callback, state));
        }
        public void send_sendMessage(string message)
        {
            oprot_.WriteMessageBegin(new TMessage("sendMessage", TMessageType.Call, seqid_));
            sendMessage_args args = new sendMessage_args();

            args.Message = message;
            args.Write(oprot_);
            oprot_.WriteMessageEnd();
            oprot_.Transport.Flush();
        }
Beispiel #3
0
 public void send_sendMessage(int seq, Message message)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("sendMessage", TMessageType.Call, seqid_));
   sendMessage_args args = new sendMessage_args();
   args.Seq = seq;
   args.Message = message;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }