Ejemplo n.º 1
0
        /// <summary>
        /// Unload the function server. This object holds all functions.
        /// </summary>
        private static void UnloadFunctionServer()
        {
            LogHelper.Log(LogLevel.Info, String.Format(">>> Unload the function server..."));

            _functionServer.Dispose();
            _functionServer = null;
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Instantiates the function server. This object holds all functions.
        /// </summary>
        private static void InstantiateFunctionServer()
        {
            LogHelper.Log(LogLevel.Info, String.Format(">>> Instantiating the function server..."));

            _functionServer = new NuvoControl.Server.FunctionServer.FunctionServer(_zoneServer, _configurationService.SystemConfiguration.Functions, _audioDrivers, _oscDrivers);
            LogHelper.Log(LogLevel.Debug, String.Format(">>>   Functions: {0}", _functionServer.ToString()));
        }
Ejemplo n.º 3
0
        /// <summary>
        /// Instantiates the function server. This object holds all functions.
        /// </summary>
        private static void InstantiateFunctionServer()
        {
            LogHelper.Log(LogLevel.Info, String.Format(">>> Instantiating the function server..."));

            //TODO: Instantiate the audio drivers
            _functionServer = new NuvoControl.Server.FunctionServer.FunctionServer(_zoneServer, _configurationService.SystemConfiguration.Functions, null, null);
            //_functionServer.StartUp();
        }