/// <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; }
/// <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())); }
/// <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(); }