diff options
author | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2007-04-27 14:17:18 +0000 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2007-04-27 14:17:18 +0000 |
commit | 999a1b2c1ff51119806d16430adbc5d7677ac4c4 (patch) | |
tree | fe6a3f259455a3a7b0a6492c2aa6fa802944ca38 /network/network-api.txt | |
parent | 37cf1720b4b90bf2ad23b07d89c641959dcd9cab (diff) |
Update network API documentation.
Diffstat (limited to 'network/network-api.txt')
-rw-r--r-- | network/network-api.txt | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/network/network-api.txt b/network/network-api.txt index d155370e..c50eb8d5 100644 --- a/network/network-api.txt +++ b/network/network-api.txt @@ -14,16 +14,16 @@ Methods string CreateServer(string uuid) Creates a network server object(GN or NAP). - Possible errors:org.bluez.network.AlreadyExists - org.bluez.network.NotSupported - org.bluez.network.ConnectionAttemptFailed - org.bluez.network.Failed + Possible errors:org.bluez.network.Error.AlreadyExists + org.bluez.network.Error.NotSupported + org.bluez.network.Error.ConnectionAttemptFailed + org.bluez.network.Error.Failed void RemoveServer(string path) Removes the network server object for given path. - Possible errors:org.bluez.network.DoesNotExist - org.bluez.network.Failed + Possible errors:org.bluez.network.Error.DoesNotExist + org.bluez.network.Error.Failed array{string} ListServers() @@ -34,17 +34,17 @@ Methods string CreateServer(string uuid) Creates a network connection object(NAP or GN). - Possible errors:org.bluez.network.AlreadyExists - org.bluez.network.NotSupported - org.bluez.network.ConnectionAttemptFailed - org.bluez.network.Failed + Possible errors:org.bluez.network.Error.AlreadyExists + org.bluez.network.Error.NotSupported + org.bluez.network.Error.ConnectionAttemptFailed + org.bluez.network.Error.Failed string RemoveConnection(string path) Removes a network connection object for a given path. - Possible errors:org.bluez.network.DoesNotExist - org.bluez.network.Failed + Possible errors:org.bluez.network.Error.DoesNotExist + org.bluez.network.Error.Failed array{string} ListConnections() @@ -54,8 +54,8 @@ Methods string CreateServer(string uuid) Returns an array of available network connections paths. - Possible errors:org.bluez.network.DoesNotExist - org.bluez.network.Failed + Possible errors:org.bluez.network.Error.DoesNotExist + org.bluez.network.Error.Failed Signals @@ -81,14 +81,14 @@ Methods string GetUUID() Enable server and updates service record. - Possible errors:org.bluez.network.AlreadyExists - org.bluez.network.Failed + Possible errors:org.bluez.network.Error.AlreadyExists + org.bluez.network.Error.Failed void Disable() Disable server and remove service record. - Possible errors:org.bluez.network.Failed + Possible errors:org.bluez.network.Error.Failed void SetName(string name) @@ -144,32 +144,32 @@ Methods string GetAddress() Returns the string representation of connected host. - Possible errors:org.bluez.network.Failed + Possible errors:org.bluez.network.Error.Failed string GetDescription() Returns the string description of connected host. - Possible errors:org.bluez.network.Failed + Possible errors:org.bluez.network.Error.Failed string GetInterface() Returns the string network interface. - Possible errors:org.bluez.network.Failed + Possible errors:org.bluez.network.Error.Failed - void Connect() + string Connect() - Connects to host. + Connects to host and return the network interface created. - Possible errors:org.bluez.network.ConnectionAttemptFailed - org.bluez.network.Failed + Possible errors:org.bluez.network.Error.ConnectionAttemptFailed + org.bluez.network.Error.Failed void Disconnect() Disconnects to host. - Possible errors:org.bluez.network.Failed + Possible errors:org.bluez.network.Error.Failed bool IsConnected() |