Пример #1
0
        /// <summary>
        ///
        /// </summary>
        /// <returns></returns>
        public string CreateEmptyEventResponse()
        {
            LLSDCapEvent eventItem = new LLSDCapEvent();

            eventItem.id = m_eventQueueCount;
            eventItem.events.Array.Add(new LLSDEmpty());
            string res = LLSDHelpers.SerialiseLLSDReply(eventItem);

            m_eventQueueCount++;
            return(res);
        }
Пример #2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="caps"></param>
        /// <param name="ipAddressPort"></param>
        /// <returns></returns>
        public string CreateEstablishAgentComms(string caps, string ipAddressPort)
        {
            LLSDCapEvent eventItem = new LLSDCapEvent();

            eventItem.id = m_eventQueueCount;

            //should be creating a EstablishAgentComms item, but there isn't a class for it yet
            eventItem.events.Array.Add(new LLSDEmpty());
            string res = LLSDHelpers.SerialiseLLSDReply(eventItem);

            m_eventQueueCount++;

            m_capsEventQueue.Enqueue(res);
            return(res);
        }
Пример #3
0
 /// <summary>
 ///
 /// </summary>
 /// <returns></returns>
 public string CreateEmptyEventResponse()
 {
     LLSDCapEvent eventItem = new LLSDCapEvent();
     eventItem.id = m_eventQueueCount;
     eventItem.events.Array.Add(new LLSDEmpty());
     string res = LLSDHelpers.SerialiseLLSDReply(eventItem);
     m_eventQueueCount++;
     return res;
 }
Пример #4
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="caps"></param>
        /// <param name="ipAddressPort"></param>
        /// <returns></returns>
        public string CreateEstablishAgentComms(string caps, string ipAddressPort)
        {
            LLSDCapEvent eventItem = new LLSDCapEvent();
            eventItem.id = m_eventQueueCount;
            //should be creating a EstablishAgentComms item, but there isn't a class for it yet
            eventItem.events.Array.Add(new LLSDEmpty());
            string res = LLSDHelpers.SerialiseLLSDReply(eventItem);
            m_eventQueueCount++;

            m_capsEventQueue.Enqueue(res);
            return res;
        }