|
libqi-api
release-2.5.3-2016-11-18
|
#include <gateway.hpp>
Public Member Functions | |
| Gateway (bool enforceAuth=false) | |
| ~Gateway () | |
| void | setAuthProviderFactory (AuthProviderFactoryPtr provider) |
| void | setLocalClientAuthProviderFactory (AuthProviderFactoryPtr provider) |
| void | setClientAuthenticatorFactory (ClientAuthenticatorFactoryPtr authenticator) |
| UrlVector | endpoints () const |
| bool | listen (const Url &url) |
| bool | setIdentity (const std::string &key, const std::string &crt) |
| qi::Future< void > | attachToServiceDirectory (const Url &serviceDirectoryUrl) |
| void | close () |
Public Attributes | |
| Property< bool > & | connected |
Definition at line 28 of file gateway.hpp.
| qi::Gateway::Gateway | ( | bool | enforceAuth = false | ) |
| enforceAuth | If set to true, reject clients that try to skip the authentication step. If false, accept all incoming connections whether or not they authentify. |
| qi::Gateway::~Gateway | ( | ) |
| qi::Future<void> qi::Gateway::attachToServiceDirectory | ( | const Url & | serviceDirectoryUrl | ) |
| void qi::Gateway::close | ( | ) |
| UrlVector qi::Gateway::endpoints | ( | ) | const |
| bool qi::Gateway::listen | ( | const Url & | url | ) |
| void qi::Gateway::setAuthProviderFactory | ( | AuthProviderFactoryPtr | provider | ) |
| void qi::Gateway::setClientAuthenticatorFactory | ( | ClientAuthenticatorFactoryPtr | authenticator | ) |
| bool qi::Gateway::setIdentity | ( | const std::string & | key, |
| const std::string & | crt | ||
| ) |
| void qi::Gateway::setLocalClientAuthProviderFactory | ( | AuthProviderFactoryPtr | provider | ) |
| Property<bool>& qi::Gateway::connected |
Definition at line 39 of file gateway.hpp.