public void send_Subscribe(Ruyi.SDK.Http.SubscribeRequest message) { oprot_.WriteMessageBegin(new TMessage("Subscribe", TMessageType.Call, seqid_)); Subscribe_args args = new Subscribe_args(); args.Message = message; args.Write(oprot_); oprot_.WriteMessageEnd(); oprot_.Transport.Flush(); }
public IAsyncResult send_Subscribe(AsyncCallback callback, object state, Ruyi.SDK.Http.SubscribeRequest message) { oprot_.WriteMessageBegin(new TMessage("Subscribe", TMessageType.Call, seqid_)); Subscribe_args args = new Subscribe_args(); args.Message = message; args.Write(oprot_); oprot_.WriteMessageEnd(); return(oprot_.Transport.BeginFlush(callback, state)); }
public void send_Subscribe(Ruyi.SDK.Http.SubscribeRequest message) #endif { oprot_.WriteMessageBegin(new TMessage("Subscribe", TMessageType.Call, seqid_)); Subscribe_args args = new Subscribe_args(); args.Message = message; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return(oprot_.Transport.BeginFlush(callback, state)); #else oprot_.Transport.Flush(); #endif }