network manager interface
More...
#include <network_manager_interface.hh>
network manager interface
- See also
- INetworkManagerListener
◆ addListener()
Add the Listener object.
- Parameters
-
[in] | listener | listener object |
◆ removeListener()
Remove the Listener object.
- Parameters
-
[in] | listener | listener object |
◆ connect()
virtual bool NuguClientKit::INetworkManager::connect |
( |
| ) |
|
|
pure virtual |
Request a connection with the NUGU server.
- Returns
- result
- Return values
-
◆ disconnect()
virtual bool NuguClientKit::INetworkManager::disconnect |
( |
| ) |
|
|
pure virtual |
Request a disconnection with the NUGU server.
- Returns
- result
- Return values
-
◆ setToken()
virtual bool NuguClientKit::INetworkManager::setToken |
( |
const std::string & |
token | ) |
|
|
pure virtual |
Set the access token value. The connection type is automatically set through token analysis.
- Parameters
-
- Returns
- result
- Return values
-
◆ setRegistryUrl()
virtual bool NuguClientKit::INetworkManager::setRegistryUrl |
( |
const std::string & |
url | ) |
|
|
pure virtual |
Set the device gateway registry url.
- Parameters
-
- Returns
- result
- Return values
-
◆ setUserAgent()
virtual bool NuguClientKit::INetworkManager::setUserAgent |
( |
const std::string & |
app_version, |
|
|
const std::string & |
additional_info = "" |
|
) |
| |
|
pure virtual |
Set the HTTP header UserAgent information.
- Parameters
-
[in] | app_version | application version (e.g. "0.1.0") |
[in] | additional_info | additional information or "" |
- Returns
- result
- Return values
-
The documentation for this class was generated from the following file: