예제 #1
0
        /// <summary>
        /// Initializes the service before it is opened.
        /// </summary>
        public MyService()
        {
            // the node manager provides access to the server's address space.
            m_nodeManager = new NodeManager();
            m_nodeManager.Create();

            // the server object stores the current server status information.
            m_serverObject = new ServerObject(ApplicationUri, m_nodeManager);
        }