Inheritance: IRegionModule, IDataSnapshot
Ejemplo n.º 1
0
        public DataRequestHandler(Scene scene, DataSnapshotManager externalData)
        {
//            m_scene = scene;
            m_externalData = externalData;

            //Register HTTP handler
            MainServer.UnSecureInstance.AddGloblaMethodHandler("collector", OnGetSnapshot);
            // Register validation callback handler
            MainServer.UnSecureInstance.AddGloblaMethodHandler("validate", OnValidate);

            m_log.Info("[DATASNAPSHOT]: Set up snapshot service");
        }
Ejemplo n.º 2
0
        public DataRequestHandler(Scene scene, DataSnapshotManager externalData)
        {
//            m_scene = scene;
            m_externalData = externalData;

            //Register HTTP handler
            if (MainServer.Instance.AddHTTPHandler("collector", OnGetSnapshot))
            {
                m_log.Info("[DATASNAPSHOT]: Set up snapshot service");
            }
            // Register validation callback handler
            MainServer.Instance.AddHTTPHandler("validate", OnValidate);

        }
Ejemplo n.º 3
0
        public DataRequestHandler(Scene scene, DataSnapshotManager externalData)
        {
            m_scene = scene;
            m_externalData = externalData;

            //Register HTTP handler
            if (MainServer.Instance.AddHTTPHandler("collector", OnGetSnapshot))
            {
                m_log.Info("[DATASNAPSHOT]: Set up snapshot service");
            }

            //Register CAPS handler event
            m_scene.EventManager.OnRegisterCaps += OnRegisterCaps;

            //harbl
        }
Ejemplo n.º 4
0
        public DataRequestHandler(Scene scene, DataSnapshotManager externalData)
        {
            m_scene        = scene;
            m_externalData = externalData;

            //Register HTTP handler
            if (MainServer.Instance.AddHTTPHandler("collector", OnGetSnapshot))
            {
                m_log.Info("[DATASNAPSHOT]: Set up snapshot service");
            }

            //Register CAPS handler event
            m_scene.EventManager.OnRegisterCaps += OnRegisterCaps;

            //harbl
        }