diff options
author | Ludovic Ferrandis <ludovic.ferrandis@intel.com> | 2013-09-11 15:49:51 +0200 |
---|---|---|
committer | Ludovic Ferrandis <ludovic.ferrandis@intel.com> | 2013-10-02 19:11:52 +0200 |
commit | 21c4ff0e1d94454915eceaef3461cb2bdf3010f7 (patch) | |
tree | 3782d0d057c77d54bb900d51e95477febf1dfcab /doc | |
parent | 64ad1c620dec35539c97b14f3560cc8372cbe6ca (diff) | |
download | dleyna-server-21c4ff0e1d94454915eceaef3461cb2bdf3010f7.tar.gz |
[Network Filtering] New API and save
- Remove all WhiteListxxx API
- Add Set() to 'org.freedesktop.DBus.Properties' interface to
'com.intel.dLeynaServer.Manager' root interface
Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/server/dbus/API.txt | 26 |
1 files changed, 6 insertions, 20 deletions
diff --git a/doc/server/dbus/API.txt b/doc/server/dbus/API.txt index 378daf9..c9c5232 100644 --- a/doc/server/dbus/API.txt +++ b/doc/server/dbus/API.txt @@ -46,7 +46,7 @@ com.intel.dLeynaServer.Manager Methods: ---------- -The interface com.intel.dLeynaServer.Manager contains 10 methods. +The interface com.intel.dLeynaServer.Manager contains 6 methods. Descriptions of each of these methods along with their d-Bus signatures are given below. @@ -127,24 +127,6 @@ discover new DMSs which for some reason were not detected when either they, or the device on which dLeyna-server runs, was started or joined the network. New in version 0.0.2. -WhiteListEnable(b enabled) -> void - -Enable or disable the Network Filtering feature. -When enabled, only devices that are on allowed networks will be available. - -WhiteListAddEntries(as EntryList) -> void - -Add new entries to the list of allowed networks. An Entry could be an interface -name (eth0), an ip address (127.0.0.1) or a SSID (MyWiFi) - -WhiteListRemoveEntries(as EntryList) -> void - -Remove entries from the list of allowed networks. - -WhiteListClear() -> void - -Remove all entries from the list, but it doesn't change the 'enabled' flag. - Properties: --------- @@ -157,13 +139,17 @@ of d-Bus properties. These properties are described below: |------------------------------------------------------------------------------| | WhiteListEntries | as | m | The list of entries that compose the | | | | | white list used to filter the networks. | +| | | | An Entry could be an interface name | +| | | | (eth0), an ip address (127.0.0.1) or | +| | | | a SSID (MyWiFi) | |------------------------------------------------------------------------------| | WhiteListEnabled | b | m | True if the Network Filtering is active.| |------------------------------------------------------------------------------| A org.freedesktop.DBus.Properties.PropertiesChanged signal is emitted when these properties change. - +These properties can be changed using the Set() method of +org.freedesktop.DBus.Properties interface. Signals: --------- |