public void Initialize(IConfigSource config, IRegistryCore registry)
        {
            IConfig handlers = config.Configs["Handlers"];

            if (handlers.GetString("NeighborHandler", "") == Name)
            {
                registry.RegisterModuleInterface <INeighborService>(this);
                m_LocalService = new LocalNeighborServiceConnector();
                m_LocalService.ReadConfig(config);
            }
        }
예제 #2
0
 public void Initialize(IConfigSource config, IRegistryCore registry)
 {
     IConfig handlers = config.Configs["Handlers"];
     if (handlers.GetString("NeighborHandler", "") == Name)
     {
         registry.RegisterModuleInterface<INeighborService>(this);
         m_LocalService = new LocalNeighborServiceConnector();
         m_LocalService.ReadConfig(config);
     }
 }