public void send_clearMessageBox(string channelId, string messageBoxId) #endif { oprot_.WriteMessageBegin(new TMessage("clearMessageBox", TMessageType.Call, seqid_)); clearMessageBox_args args = new clearMessageBox_args(); args.ChannelId = channelId; args.MessageBoxId = messageBoxId; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }
public void clearMessageBox_Process(int seqid, TProtocol iprot, TProtocol oprot) { clearMessageBox_args args = new clearMessageBox_args(); args.Read(iprot); iprot.ReadMessageEnd(); clearMessageBox_result result = new clearMessageBox_result(); try { iface_.clearMessageBox(args.ChannelId, args.MessageBoxId); } catch (TalkException e) { result.E = e; } oprot.WriteMessageBegin(new TMessage("clearMessageBox", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }