libqi-api  release-2.5.3-2016-11-18
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
qi::Gateway Class Reference

#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
 

Detailed Description

Definition at line 28 of file gateway.hpp.

Constructor & Destructor Documentation

qi::Gateway::Gateway ( bool  enforceAuth = false)
Parameters
enforceAuthIf 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 ( )

Member Function Documentation

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)

Member Data Documentation

Property<bool>& qi::Gateway::connected

Definition at line 39 of file gateway.hpp.


The documentation for this class was generated from the following file: