Esempio n. 1
0
            public void send_testM1(int num1, int num2)
            {
                oprot_.WriteMessageBegin(new TMessage("testM1", TMessageType.Call, seqid_));
                testM1_args args = new testM1_args();

                args.Num1 = num1;
                args.Num2 = num2;
                args.Write(oprot_);
                oprot_.WriteMessageEnd();
                oprot_.Transport.Flush();
            }
Esempio n. 2
0
            public IAsyncResult send_testM1(AsyncCallback callback, object state, int num1, int num2)
            {
                oprot_.WriteMessageBegin(new TMessage("testM1", TMessageType.Call, seqid_));
                testM1_args args = new testM1_args();

                args.Num1 = num1;
                args.Num2 = num2;
                args.Write(oprot_);
                oprot_.WriteMessageEnd();
                return(oprot_.Transport.BeginFlush(callback, state));
            }