/// <summary>
        /// Initializes the node manager.
        /// </summary>
        public HistoricalAccessServerNodeManager(IServerInternal server, ApplicationConfiguration configuration)
        :
            base(server, configuration, Namespaces.HistoricalAccess)
        {
            this.AliasRoot = "HDA";

            // get the configuration for the node manager.
            m_configuration = configuration.ParseExtension<HistoricalAccessServerConfiguration>();

            // use suitable defaults if no configuration exists.
            if (m_configuration == null)
            {
                m_configuration = new HistoricalAccessServerConfiguration();
            }

            SystemContext.SystemHandle = m_system = new UnderlyingSystem(m_configuration, NamespaceIndex);
            SystemContext.NodeIdFactory = this;
        }
Example #2
0
 /// <summary>
 /// Constructs a new system.
 /// </summary>
 public UnderlyingSystem(HistoricalAccessServerConfiguration configuration, ushort namespaceIndex)
 {
     m_configuration  = configuration;
     m_namespaceIndex = namespaceIndex;
 }
 /// <summary>
 /// Constructs a new system.
 /// </summary>
 public UnderlyingSystem(HistoricalAccessServerConfiguration configuration, ushort namespaceIndex)
 {
     m_configuration = configuration;
     m_namespaceIndex = namespaceIndex;
 }