Inheritance: OpenSim.Framework.Servers.HttpServer.BaseStreamHandler
        public void PostStart(IConfigSource config, IRegistryCore registry)
        {
            IConfig handlerConfig = config.Configs["Handlers"];
            if (handlerConfig.GetString("GridInHandler", "") != Name)
                return;

            IHttpServer server = registry.RequestModuleInterface<ISimulationBase>().GetHttpServer((uint)handlerConfig.GetInt("GridInHandlerPort"));
            
            GridServerPostHandler handler = new GridServerPostHandler(m_GridService);
            server.AddStreamHandler(handler);
        }
        public GridServiceConnector(IConfigSource config, IHttpServer server, string configName) :
                base(config, server, configName)
        {
            IConfig serverConfig = config.Configs[m_ConfigName];
            if (serverConfig == null)
                throw new Exception(String.Format("No section {0} in config file", m_ConfigName));

            string gridService = serverConfig.GetString("LocalServiceModule",
                    String.Empty);

            if (gridService == String.Empty)
                throw new Exception("No LocalServiceModule in config file");

            Object[] args = new Object[] { config };
            m_GridService = ServerUtils.LoadPlugin<IGridService>(gridService, args);

            LocalDataService LDS = new Aurora.Services.DataService.LocalDataService();
            LDS.Initialise(config);
            
            GridServerPostHandler handler = new GridServerPostHandler(m_GridService);
            server.AddStreamHandler(handler);
        }