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