/// <summary>
        ///     Find Classifieds
        /// </summary>
        /// <param name="remoteClient"></param>
        /// <param name="queryID"></param>
        /// <param name="queryText"></param>
        /// <param name="queryFlags"></param>
        /// <param name="category"></param>
        /// <param name="queryStart"></param>
        public void DirClassifiedQuery(IClientAPI remoteClient, UUID queryID, string queryText, uint queryFlags,
                                       uint category, int queryStart)
        {
            List <DirClassifiedReplyData> ReturnValues =
                new List <DirClassifiedReplyData> (DirectoryService.FindClassifieds(queryText.Trim(), category.ToString(),
                                                                                    queryFlags, queryStart,
                                                                                    remoteClient.ScopeID));

            SplitPackets(ReturnValues,
                         data => remoteClient.SendDirClassifiedReply(queryID, data));
        }
        public void DirClassifiedQuery(IClientAPI remoteClient, UUID queryID, string queryText, uint queryFlags, uint category, int queryStart)
        {
            List <DirClassifiedReplyData> ReturnValues = new List <DirClassifiedReplyData>(directoryService.FindClassifieds(queryText, category.ToString(), queryFlags, queryStart, remoteClient.ScopeID));

#if (!ISWIN)
            SplitPackets <DirClassifiedReplyData>(ReturnValues, delegate(DirClassifiedReplyData[] data)
            {
                remoteClient.SendDirClassifiedReply(queryID, data);
            });
#else
            SplitPackets(ReturnValues,
                         data => remoteClient.SendDirClassifiedReply(queryID, data));
#endif
        }