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