public void send_getMessageBoxListByStatus(string channelId, int lastMessagesCount, int status) #endif { oprot_.WriteMessageBegin(new TMessage("getMessageBoxListByStatus", TMessageType.Call, seqid_)); getMessageBoxListByStatus_args args = new getMessageBoxListByStatus_args(); args.ChannelId = channelId; args.LastMessagesCount = lastMessagesCount; args.Status = status; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }
public void getMessageBoxListByStatus_Process(int seqid, TProtocol iprot, TProtocol oprot) { getMessageBoxListByStatus_args args = new getMessageBoxListByStatus_args(); args.Read(iprot); iprot.ReadMessageEnd(); getMessageBoxListByStatus_result result = new getMessageBoxListByStatus_result(); try { result.Success = iface_.getMessageBoxListByStatus(args.ChannelId, args.LastMessagesCount, args.Status); } catch (TalkException e) { result.E = e; } oprot.WriteMessageBegin(new TMessage("getMessageBoxListByStatus", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }