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(); }
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)); }