public void send_notify(string message) { oprot_.WriteMessageBegin(new TMessage("notify", TMessageType.Call, seqid_)); notify_args args = new notify_args(); args.Message = message; args.Write(oprot_); oprot_.WriteMessageEnd(); oprot_.Transport.Flush(); }
public IAsyncResult send_notify(AsyncCallback callback, object state, string message) { oprot_.WriteMessageBegin(new TMessage("notify", TMessageType.Call, seqid_)); notify_args args = new notify_args(); args.Message = message; args.Write(oprot_); oprot_.WriteMessageEnd(); return(oprot_.Transport.BeginFlush(callback, state)); }
public void send_notify(GlobalEvent @event) { oprot_.WriteMessageBegin(new TMessage("notify", TMessageType.Call, seqid_)); notify_args args = new notify_args(); args.Event = @event; args.Write(oprot_); oprot_.WriteMessageEnd(); oprot_.Transport.Flush(); }
public void send_notify(GlobalEvent @event) #endif { oprot_.WriteMessageBegin(new TMessage("notify", TMessageType.Call, seqid_)); notify_args args = new notify_args(); args.Event = @event; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return(oprot_.Transport.BeginFlush(callback, state)); #else oprot_.Transport.Flush(); #endif }