コード例 #1
0
        /// <summary>
        ///     Find Events
        /// </summary>
        /// <param name="remoteClient"></param>
        /// <param name="queryID"></param>
        /// <param name="queryText"></param>
        /// <param name="queryFlags"></param>
        /// <param name="queryStart"></param>
        public void DirEventsQuery(IClientAPI remoteClient, UUID queryID, string queryText, uint queryFlags,
                                   int queryStart)
        {
            List <DirEventsReplyData> ReturnValues =
                new List <DirEventsReplyData> (DirectoryService.FindEvents(queryText.Trim(), queryFlags, queryStart,
                                                                           remoteClient.ScopeID));

            SplitPackets(ReturnValues, data => remoteClient.SendDirEventsReply(queryID, data));
        }
コード例 #2
0
        public void DirEventsQuery(IClientAPI remoteClient, UUID queryID,
                                   string queryText, uint queryFlags, int queryStart)
        {
            List <DirEventsReplyData> ReturnValues = new List <DirEventsReplyData>(directoryService.FindEvents(queryText, queryFlags.ToString(), queryStart));

            SplitPackets <DirEventsReplyData> (ReturnValues, delegate(DirEventsReplyData[] data)
            {
                remoteClient.SendDirEventsReply(queryID, data);
            });
        }
コード例 #3
0
        public void DirEventsQuery(IClientAPI remoteClient, UUID queryID, string queryText, uint queryFlags, int queryStart)
        {
            List <DirEventsReplyData> ReturnValues = new List <DirEventsReplyData>(directoryService.FindEvents(queryText, queryFlags, queryStart, remoteClient.ScopeID));

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