Example #1
0
        public void partPhysicsProperties(uint localID, byte physhapetype,
                                          float density, float friction, float bounce, float gravmod, UUID avatarID)
        {
            OSD item = EventQueueHelper.partPhysicsProperties(localID, physhapetype,
                                                              density, friction, bounce, gravmod);

            Enqueue(item, avatarID);
        }
Example #2
0
        public virtual void EstablishAgentCommunication(UUID avatarID, IPEndPoint endPoint, string capsPath,
                                                        ulong regionHandle, int regionSizeX, int regionSizeY)
        {
            m_log.DebugFormat("{0} EstablishAgentCommunication. handle={1}, avatarID={2}, regionSize={3},{4}>",
                              LogHeader, regionHandle, avatarID, regionSizeX, regionSizeY);
            OSD item = EventQueueHelper.EstablishAgentCommunication(avatarID, endPoint.ToString(), capsPath, regionHandle, regionSizeX, regionSizeY);

            Enqueue(item, avatarID);
        }
Example #3
0
        public OSD BuildEvent(string eventName, OSD eventBody)
        {
            if (m_log.IsDebugEnabled)
            {
                m_log.DebugFormat("{0} called", System.Reflection.MethodBase.GetCurrentMethod().Name);
            }

            return(EventQueueHelper.BuildEvent(eventName, eventBody));
        }
        public virtual void CrossRegion(ulong handle, Vector3 pos, Vector3 lookAt,
                                        IPEndPoint newRegionExternalEndPoint,
                                        string capsURL, UUID avatarID, UUID sessionID)
        {
            OSD item = EventQueueHelper.CrossRegion(handle, pos, lookAt, newRegionExternalEndPoint,
                                                    capsURL, avatarID, sessionID);

            Enqueue(item, avatarID);
        }
        public void ChatterBoxSessionAgentListUpdates(UUID sessionID, UUID fromAgent, UUID toAgent, bool canVoiceChat,
                                                      bool isModerator, bool textMute)
        {
            OSD item = EventQueueHelper.ChatterBoxSessionAgentListUpdates(sessionID, fromAgent, canVoiceChat,
                                                                          isModerator, textMute);

            Enqueue(item, toAgent);
            //m_log.InfoFormat("########### eq ChatterBoxSessionAgentListUpdates #############\n{0}", item);
        }
Example #6
0
        public virtual void EnableSimulator(ulong handle, IPEndPoint endPoint, UUID avatarID, int regionSizeX, int regionSizeY)
        {
            m_log.DebugFormat("{0} EnableSimulator. handle={1}, avatarID={2}, regionSize={3},{4}>",
                              LogHeader, handle, avatarID, regionSizeX, regionSizeY);

            OSD item = EventQueueHelper.EnableSimulator(handle, endPoint, regionSizeX, regionSizeY);

            Enqueue(item, avatarID);
        }
Example #7
0
        public OSD ScriptRunningEvent(UUID objectID, UUID itemID, bool running, bool mono)
        {
            if (m_log.IsDebugEnabled)
            {
                m_log.DebugFormat("{0} called", System.Reflection.MethodBase.GetCurrentMethod().Name);
            }

            return(EventQueueHelper.ScriptRunningReplyEvent(objectID, itemID, running, mono));
        }
        public virtual void TeleportFinishEvent(ulong regionHandle, byte simAccess,
                                                IPEndPoint regionExternalEndPoint,
                                                uint locationID, uint flags, string capsURL,
                                                UUID avatarID)
        {
            OSD item = EventQueueHelper.TeleportFinishEvent(regionHandle, simAccess, regionExternalEndPoint,
                                                            locationID, flags, capsURL, avatarID);

            Enqueue(item, avatarID);
        }
 public void Finished(string message)
 {
     if (message != null)
     {
         OSD item = EventQueueHelper.ChatterboxInvitation(sessionID, sessionName, fromAgent, message, toAgent, fromName, dialog,
                                                          timeStamp, offline, parentEstateID, position, ttl, transactionID,
                                                          fromGroup, binaryBucket);
         eqgm.Enqueue(item, toAgent);
     }
 }
Example #10
0
        public void QueryReply(PlacesReplyPacket groupUpdate, UUID avatarID)
        {
            if (m_log.IsDebugEnabled)
            {
                m_log.DebugFormat("{0} called", System.Reflection.MethodBase.GetCurrentMethod().Name);
            }

            OSD item = EventQueueHelper.PlacesQuery(groupUpdate);

            Enqueue(item, avatarID);
        }
Example #11
0
        public void GroupMembership(AgentGroupDataUpdatePacket groupUpdate, UUID avatarID)
        {
            if (m_log.IsDebugEnabled)
            {
                m_log.DebugFormat("{0} called", System.Reflection.MethodBase.GetCurrentMethod().Name);
            }

            OSD item = EventQueueHelper.GroupMembership(groupUpdate);

            Enqueue(item, avatarID);
        }
Example #12
0
        public void ParcelProperties(ParcelPropertiesMessage parcelPropertiesMessage, UUID avatarID)
        {
            if (m_log.IsDebugEnabled)
            {
                m_log.DebugFormat("{0} called", System.Reflection.MethodBase.GetCurrentMethod().Name);
            }

            OSD item = EventQueueHelper.ParcelProperties(parcelPropertiesMessage);

            Enqueue(item, avatarID);
        }
Example #13
0
        public virtual void EnableSimulator(ulong handle, IPEndPoint endPoint, UUID avatarID)
        {
            if (m_log.IsDebugEnabled)
            {
                m_log.DebugFormat("{0} called", System.Reflection.MethodBase.GetCurrentMethod().Name);
            }

            OSD item = EventQueueHelper.EnableSimulator(handle, endPoint);

            Enqueue(item, avatarID);
        }
Example #14
0
        public virtual void EstablishAgentCommunication(UUID avatarID, IPEndPoint endPoint, string capsPath)
        {
            if (m_log.IsDebugEnabled)
            {
                m_log.DebugFormat("{0} called", System.Reflection.MethodBase.GetCurrentMethod().Name);
            }

            OSD item = EventQueueHelper.EstablishAgentCommunication(avatarID, endPoint.ToString(), capsPath);

            Enqueue(item, avatarID);
        }
        public void ChatterboxInvitation(UUID sessionID, string sessionName,
                                         UUID fromAgent, string message, UUID toAgent, string fromName, byte dialog,
                                         uint timeStamp, bool offline, int parentEstateID, Vector3 position,
                                         uint ttl, UUID transactionID, bool fromGroup, byte[] binaryBucket)
        {
            OSD item = EventQueueHelper.ChatterboxInvitation(sessionID, sessionName, fromAgent, message, toAgent, fromName, dialog,
                                                             timeStamp, offline, parentEstateID, position, ttl, transactionID,
                                                             fromGroup, binaryBucket);

            Enqueue(item, toAgent);
            //m_log.InfoFormat("########### eq ChatterboxInvitation #############\n{0}", item);
        }
Example #16
0
        public virtual void CrossRegion(ulong handle, Vector3 pos, Vector3 lookAt,
                                        IPEndPoint newRegionExternalEndPoint,
                                        string capsURL, UUID avatarID, UUID sessionID, int regionSizeX, int regionSizeY)
        {
            m_log.DebugFormat("{0} CrossRegion. handle={1}, avatarID={2}, regionSize={3},{4}>",
                              LogHeader, handle, avatarID, regionSizeX, regionSizeY);

            OSD item = EventQueueHelper.CrossRegion(handle, pos, lookAt, newRegionExternalEndPoint,
                                                    capsURL, avatarID, sessionID, regionSizeX, regionSizeY);

            Enqueue(item, avatarID);
        }
Example #17
0
        public void SendConsoleOutput(UUID agentID, string message)
        {
            OSD osd = OSD.FromString(message);

            m_eventQueue.Enqueue(EventQueueHelper.BuildEvent("SimConsoleResponse", osd), agentID);

            ConsoleMessage handlerConsoleMessage = OnConsoleMessage;

            if (handlerConsoleMessage != null)
            {
                handlerConsoleMessage(agentID, message);
            }
        }
Example #18
0
        public void partPhysicsProperties(uint localID, byte physhapetype,
                                          float density, float friction, float bounce, float gravmod, UUID avatarID)
        {
            if (m_log.IsDebugEnabled)
            {
                m_log.DebugFormat("{0} called", System.Reflection.MethodBase.GetCurrentMethod().Name);
            }

            OSD item = EventQueueHelper.partPhysicsProperties(localID, physhapetype,
                                                              density, friction, bounce, gravmod);

            Enqueue(item, avatarID);
        }
Example #19
0
        //        public Hashtable EventQueuePath2(Hashtable request)
        //        {
        //            string capuuid = (string)request["uri"]; //path.Replace("/CAPS/EQG/","");
        //            // pull off the last "/" in the path.
        //            Hashtable responsedata = new Hashtable();
        //            capuuid = capuuid.Substring(0, capuuid.Length - 1);
        //            capuuid = capuuid.Replace("/CAPS/EQG/", "");
        //            UUID AvatarID = UUID.Zero;
        //            UUID capUUID = UUID.Zero;
        //
        //            // parse the path and search for the avatar with it registered
        //            if (UUID.TryParse(capuuid, out capUUID))
        //            {
        //                lock (m_QueueUUIDAvatarMapping)
        //                {
        //                    if (m_QueueUUIDAvatarMapping.ContainsKey(capUUID))
        //                    {
        //                        AvatarID = m_QueueUUIDAvatarMapping[capUUID];
        //                    }
        //                }
        //
        //                if (AvatarID != UUID.Zero)
        //                {
        //                    return ProcessQueue(request, AvatarID, m_scene.CapsModule.GetCapsForUser(AvatarID));
        //                }
        //                else
        //                {
        //                    responsedata["int_response_code"] = 404;
        //                    responsedata["content_type"] = "text/plain";
        //                    responsedata["keepalive"] = false;
        //                    responsedata["str_response_string"] = "Not Found";
        //                    responsedata["error_status_text"] = "Not Found";
        //                    responsedata["http_protocol_version"] = "HTTP/1.0";
        //                    return responsedata;
        //                    // return 404
        //                }
        //            }
        //            else
        //            {
        //                responsedata["int_response_code"] = 404;
        //                responsedata["content_type"] = "text/plain";
        //                responsedata["keepalive"] = false;
        //                responsedata["str_response_string"] = "Not Found";
        //                responsedata["error_status_text"] = "Not Found";
        //                responsedata["http_protocol_version"] = "HTTP/1.0";
        //                return responsedata;
        //                // return 404
        //            }
        //        }
        public virtual void TeleportFinishEvent(ulong regionHandle, byte simAccess,
                                                IPEndPoint regionExternalEndPoint,
                                                uint locationID, uint flags, string capsURL,
                                                UUID avatarID, int regionSizeX, int regionSizeY)
        {
            m_log.DebugFormat("{0} TeleportFinishEvent. handle={1}, avatarID={2}, regionSize=<{3},{4}>",
                              LogHeader, regionHandle, avatarID, regionSizeX, regionSizeY);

            OSD item = EventQueueHelper.TeleportFinishEvent(regionHandle, simAccess, regionExternalEndPoint,
                                                            locationID, flags, capsURL, avatarID, regionSizeX, regionSizeY);

            Enqueue(item, avatarID);
        }
Example #20
0
        public virtual void CrossRegion(ulong handle, Vector3 pos, Vector3 lookAt,
                                        IPEndPoint newRegionExternalEndPoint,
                                        string capsURL, UUID avatarID, UUID sessionID)
        {
            if (m_log.IsDebugEnabled)
            {
                m_log.DebugFormat("{0} called", System.Reflection.MethodBase.GetCurrentMethod().Name);
            }

            OSD item = EventQueueHelper.CrossRegion(handle, pos, lookAt, newRegionExternalEndPoint,
                                                    capsURL, avatarID, sessionID);

            Enqueue(item, avatarID);
        }
Example #21
0
        public void ChatterBoxSessionAgentListUpdates(UUID sessionID, UUID fromAgent, UUID anotherAgent, bool canVoiceChat,
                                                      bool isModerator, bool textMute)
        {
            if (m_log.IsDebugEnabled)
            {
                m_log.DebugFormat("{0} called", System.Reflection.MethodBase.GetCurrentMethod().Name);
            }

            OSD item = EventQueueHelper.ChatterBoxSessionAgentListUpdates(sessionID, fromAgent, canVoiceChat,
                                                                          isModerator, textMute);

            Enqueue(item, fromAgent);
            //m_log.InfoFormat("########### eq ChatterBoxSessionAgentListUpdates #############\n{0}", item);
        }
Example #22
0
        public virtual void TeleportFinishEvent(ulong regionHandle, byte simAccess,
                                                IPEndPoint regionExternalEndPoint,
                                                uint locationID, uint flags, string capsURL,
                                                UUID avatarID)
        {
            if (m_log.IsDebugEnabled)
            {
                m_log.DebugFormat("{0} called", System.Reflection.MethodBase.GetCurrentMethod().Name);
            }

            OSD item = EventQueueHelper.TeleportFinishEvent(regionHandle, simAccess, regionExternalEndPoint,
                                                            locationID, flags, capsURL, avatarID);

            Enqueue(item, avatarID);
        }
Example #23
0
        public void ChatterboxInvitation(UUID sessionID, string sessionName,
                                         UUID fromAgent, string message, UUID toAgent, string fromName, byte dialog,
                                         uint timeStamp, bool offline, int parentEstateID, Vector3 position,
                                         uint ttl, UUID transactionID, bool fromGroup, byte[] binaryBucket)
        {
            if (m_log.IsDebugEnabled)
            {
                m_log.DebugFormat("{0} called", System.Reflection.MethodBase.GetCurrentMethod().Name);
            }

            OSD item = EventQueueHelper.ChatterboxInvitation(sessionID, sessionName, fromAgent, message, toAgent, fromName, dialog,
                                                             timeStamp, offline, parentEstateID, position, ttl, transactionID,
                                                             fromGroup, binaryBucket);

            Enqueue(item, toAgent);
            //m_log.InfoFormat("########### eq ChatterboxInvitation #############\n{0}", item);
        }
 public OSD BuildEvent(string eventName, OSD eventBody)
 {
     return(EventQueueHelper.BuildEvent(eventName, eventBody));
 }
 public OSD ScriptRunningEvent(UUID objectID, UUID itemID, bool running, bool mono)
 {
     return(EventQueueHelper.ScriptRunningReplyEvent(objectID, itemID, running, mono));
 }
        public void QueryReply(PlacesReplyPacket groupUpdate, UUID avatarID)
        {
            OSD item = EventQueueHelper.PlacesQuery(groupUpdate);

            Enqueue(item, avatarID);
        }
        public void GroupMembership(AgentGroupDataUpdatePacket groupUpdate, UUID avatarID)
        {
            OSD item = EventQueueHelper.GroupMembership(groupUpdate);

            Enqueue(item, avatarID);
        }
        public void ParcelProperties(ParcelPropertiesMessage parcelPropertiesMessage, UUID avatarID)
        {
            OSD item = EventQueueHelper.ParcelProperties(parcelPropertiesMessage);

            Enqueue(item, avatarID);
        }
        public virtual void EstablishAgentCommunication(UUID avatarID, IPEndPoint endPoint, string capsPath)
        {
            OSD item = EventQueueHelper.EstablishAgentCommunication(avatarID, endPoint.ToString(), capsPath);

            Enqueue(item, avatarID);
        }
        public virtual void EnableSimulator(ulong handle, IPEndPoint endPoint, UUID avatarID)
        {
            OSD item = EventQueueHelper.EnableSimulator(handle, endPoint);

            Enqueue(item, avatarID);
        }