/// <summary>
        /// Initializes the node manager.
        /// </summary>
        public MemoryBufferNodeManager(IServerInternal server, ApplicationConfiguration configuration, string[] namespaceUris)
            :
            base(server)
        {
            NamespaceUris = namespaceUris;

            AddEncodeableNodeManagerTypes(typeof(MemoryBufferNodeManager).Assembly, typeof(MemoryBufferNodeManager).Namespace);

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

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

            m_buffers = new Dictionary <string, MemoryBufferState>();
        }
        /// <summary>
        /// Initializes the node manager.
        /// </summary>
        public MemoryBufferNodeManager(IServerInternal server,
                                       ApplicationConfiguration configuration) :
            base(server)
        {
            var namespaceUris = new List <string> {
                Namespaces.MemoryBuffer,
                Namespaces.MemoryBuffer + "/Instance"
            };

            NamespaceUris = namespaceUris;

            // get the configuration for the node manager.
            _configuration = configuration.ParseExtension <MemoryBufferConfiguration>();

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

            _buffers = new Dictionary <string, MemoryBufferState>();
        }