Opc.Ua.Sample.SampleServer.OnNodeManagerStarted C# (CSharp) Method

OnNodeManagerStarted() protected method

Initializes the address space after the NodeManagers have started.
This method can be used to create any initialization that requires access to node managers.
protected OnNodeManagerStarted ( IServerInternal server ) : void
server IServerInternal
return void
        protected override void OnNodeManagerStarted(IServerInternal server)
        {
            Console.WriteLine("The NodeManagers have started.");

            // allow base class processing to happen first.
            base.OnNodeManagerStarted(server); 
            
            // adds the sample information models to the core node manager. 
            #if INCLUDE_Sample
            InitializeSampleModel();
            #endif
        }