public void getInboxFolderWithRules_Process(int seqid, TProtocol iprot, TProtocol oprot) { getInboxFolderWithRules_args args = new getInboxFolderWithRules_args(); args.Read(iprot); iprot.ReadMessageEnd(); getInboxFolderWithRules_result result = new getInboxFolderWithRules_result(); try { result.Success = iface_.getInboxFolderWithRules(args.UserId, args.FolderId, args.Session); } catch (InboxException ex) { result.Ex = ex; } catch (SessionException se) { result.Se = se; } oprot.WriteMessageBegin(new TMessage("getInboxFolderWithRules", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_getInboxFolderWithRules(int userId, int folderId, Session session) #endif { oprot_.WriteMessageBegin(new TMessage("getInboxFolderWithRules", TMessageType.Call, seqid_)); getInboxFolderWithRules_args args = new getInboxFolderWithRules_args(); args.UserId = userId; args.FolderId = folderId; args.Session = session; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }