#include <NetworkServices.h>
◆ ESERVERS
Enumerator |
---|
ES_WEBSERVER | |
ES_AIRPLAYSERVER | |
ES_JSONRPCSERVER | |
ES_UPNPRENDERER | |
ES_UPNPSERVER | |
ES_EVENTSERVER | |
ES_ZEROCONF | |
ES_WSDISCOVERY | |
◆ CNetworkServices()
CNetworkServices::CNetworkServices |
( |
| ) |
|
◆ ~CNetworkServices()
CNetworkServices::~CNetworkServices |
( |
| ) |
|
|
override |
◆ IsAirPlayServerRunning()
bool CNetworkServices::IsAirPlayServerRunning |
( |
| ) |
|
◆ IsAirTunesServerRunning()
bool CNetworkServices::IsAirTunesServerRunning |
( |
| ) |
|
◆ IsEventServerRunning()
bool CNetworkServices::IsEventServerRunning |
( |
| ) |
|
◆ IsJSONRPCServerRunning()
bool CNetworkServices::IsJSONRPCServerRunning |
( |
| ) |
|
◆ IsRssRunning()
bool CNetworkServices::IsRssRunning |
( |
| ) |
|
◆ IsUPnPClientRunning()
bool CNetworkServices::IsUPnPClientRunning |
( |
| ) |
|
◆ IsUPnPControllerRunning()
bool CNetworkServices::IsUPnPControllerRunning |
( |
| ) |
|
◆ IsUPnPRendererRunning()
bool CNetworkServices::IsUPnPRendererRunning |
( |
| ) |
|
◆ IsUPnPServerRunning()
bool CNetworkServices::IsUPnPServerRunning |
( |
| ) |
|
◆ IsWebserverRunning()
bool CNetworkServices::IsWebserverRunning |
( |
| ) |
|
◆ IsWSDiscoveryRunning()
bool CNetworkServices::IsWSDiscoveryRunning |
( |
| ) |
|
◆ IsZeroconfRunning()
bool CNetworkServices::IsZeroconfRunning |
( |
| ) |
|
◆ OnSettingChanged()
void CNetworkServices::OnSettingChanged |
( |
const std::shared_ptr< const CSetting > & | setting | ) |
|
|
overridevirtual |
The value of the given setting has changed.
This callback is triggered whenever the value of a setting has been successfully changed (i.e. none of the OnSettingChanging() handlers) has reverted the change.
- Parameters
-
setting | The setting whose value has been changed |
- Todo
- General way of handling setting changes that require restart
Reimplemented from ISettingCallback.
◆ OnSettingChanging()
bool CNetworkServices::OnSettingChanging |
( |
const std::shared_ptr< const CSetting > & | setting | ) |
|
|
overridevirtual |
The value of the given setting is being changed.
This callback is triggered whenever the value of a setting is being changed. The given CSetting already contains the new value and the handler of the callback has the possibility to allow or revert changing the value of the setting. In case of a revert OnSettingChanging() is called again to inform all listeners that the value change has been reverted.
- Parameters
-
setting | The setting whose value is being changed (already containing the changed value) |
- Returns
- True if the new value is acceptable otherwise false
Reimplemented from ISettingCallback.
◆ OnSettingUpdate()
bool CNetworkServices::OnSettingUpdate |
( |
const std::shared_ptr< CSetting > & | setting, |
|
|
const char * | oldSettingId, |
|
|
const TiXmlNode * | oldSettingNode ) |
|
overridevirtual |
The given setting needs to be updated.
This callback is triggered when a setting needs to be updated because its value is outdated. This only happens when initially loading the value of a setting and will not be triggered afterwards.
- Parameters
-
setting | The setting which needs to be updated. |
oldSettingId | The id of the previous setting. |
oldSettingNode | The old setting node |
- Returns
- True if the setting has been successfully updated otherwise false
Reimplemented from ISettingCallback.
◆ RefreshEventServer()
bool CNetworkServices::RefreshEventServer |
( |
| ) |
|
◆ Start()
void CNetworkServices::Start |
( |
| ) |
|
◆ StartAirPlayServer()
bool CNetworkServices::StartAirPlayServer |
( |
| ) |
|
◆ StartAirTunesServer()
bool CNetworkServices::StartAirTunesServer |
( |
| ) |
|
◆ StartEventServer()
bool CNetworkServices::StartEventServer |
( |
| ) |
|
◆ StartJSONRPCServer()
bool CNetworkServices::StartJSONRPCServer |
( |
| ) |
|
◆ StartRss()
bool CNetworkServices::StartRss |
( |
| ) |
|
◆ StartServer()
◆ StartUPnP()
bool CNetworkServices::StartUPnP |
( |
| ) |
|
◆ StartUPnPClient()
bool CNetworkServices::StartUPnPClient |
( |
| ) |
|
◆ StartUPnPController()
bool CNetworkServices::StartUPnPController |
( |
| ) |
|
◆ StartUPnPRenderer()
bool CNetworkServices::StartUPnPRenderer |
( |
| ) |
|
◆ StartUPnPServer()
bool CNetworkServices::StartUPnPServer |
( |
| ) |
|
◆ StartWebserver()
bool CNetworkServices::StartWebserver |
( |
| ) |
|
◆ StartWSDiscovery()
bool CNetworkServices::StartWSDiscovery |
( |
| ) |
|
◆ StartZeroconf()
bool CNetworkServices::StartZeroconf |
( |
| ) |
|
◆ Stop()
void CNetworkServices::Stop |
( |
bool | bWait | ) |
|
◆ StopAirPlayServer()
bool CNetworkServices::StopAirPlayServer |
( |
bool | bWait | ) |
|
◆ StopAirTunesServer()
bool CNetworkServices::StopAirTunesServer |
( |
bool | bWait | ) |
|
◆ StopEventServer()
bool CNetworkServices::StopEventServer |
( |
bool | bWait, |
|
|
bool | promptuser ) |
◆ StopJSONRPCServer()
bool CNetworkServices::StopJSONRPCServer |
( |
bool | bWait | ) |
|
◆ StopRss()
bool CNetworkServices::StopRss |
( |
| ) |
|
◆ StopUPnP()
bool CNetworkServices::StopUPnP |
( |
bool | bWait | ) |
|
◆ StopUPnPClient()
bool CNetworkServices::StopUPnPClient |
( |
| ) |
|
◆ StopUPnPController()
bool CNetworkServices::StopUPnPController |
( |
| ) |
|
◆ StopUPnPRenderer()
bool CNetworkServices::StopUPnPRenderer |
( |
| ) |
|
◆ StopUPnPServer()
bool CNetworkServices::StopUPnPServer |
( |
| ) |
|
◆ StopWebserver()
bool CNetworkServices::StopWebserver |
( |
| ) |
|
◆ StopWSDiscovery()
bool CNetworkServices::StopWSDiscovery |
( |
| ) |
|
◆ StopZeroconf()
bool CNetworkServices::StopZeroconf |
( |
| ) |
|
The documentation for this class was generated from the following files: