/// <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)); }
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); }); }
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 }