Example #1
0
            public void send_SayHello(string name)
            {
                oprot_.WriteMessageBegin(new TMessage("SayHello", TMessageType.Call, seqid_));
                SayHello_args args = new SayHello_args();

                args.Name = name;
                args.Write(oprot_);
                oprot_.WriteMessageEnd();
                oprot_.Transport.Flush();
            }
Example #2
0
            public IAsyncResult send_SayHello(AsyncCallback callback, object state, string name)
            {
                oprot_.WriteMessageBegin(new TMessage("SayHello", TMessageType.Call, seqid_));
                SayHello_args args = new SayHello_args();

                args.Name = name;
                args.Write(oprot_);
                oprot_.WriteMessageEnd();
                return(oprot_.Transport.BeginFlush(callback, state));
            }
Example #3
0
        public void send_SayHello(SayHelloArgs request)
        {
            oprot_.WriteMessageBegin(new TMessage("SayHello", TMessageType.Call, seqid_));
            SayHello_args args = new SayHello_args();

            args.Request = request;
            args.Write(oprot_);
            oprot_.WriteMessageEnd();
            oprot_.Transport.Flush();
        }
Example #4
0
        public void send_SayHello(string msg)
    #endif
        {
            oprot_.WriteMessageBegin(new TMessage("SayHello", TMessageType.Call, seqid_));
            SayHello_args args = new SayHello_args();

            args.Msg = msg;
            args.Write(oprot_);
            oprot_.WriteMessageEnd();
      #if SILVERLIGHT
            return(oprot_.Transport.BeginFlush(callback, state));
      #else
            oprot_.Transport.Flush();
      #endif
        }