7 #ifndef _QIMESSAGING_SERVICEDIRECTORYPROXY_HPP_
8 #define _QIMESSAGING_SERVICEDIRECTORYPROXY_HPP_
10 #include <boost/optional.hpp>
11 #include <boost/shared_ptr.hpp>
12 #include <boost/utility/string_ref.hpp>
14 #include <ka/functional.hpp>
25 class AuthProviderFactory;
27 class ClientAuthenticatorFactory;
53 std::unique_ptr<Impl> _p;
83 return connection == ConnectionStatus::Connected
84 && listen == ListenStatus::Listening;
87 bool isConnected()
const {
return connection == ConnectionStatus::Connected; }
88 bool isListening()
const {
return listen == ListenStatus::Listening; }
92 KA_GENERATE_FRIEND_REGULAR_OPS_2(
Status, connection, listen);
115 qi::
Future<
void> attachToServiceDirectory(const
Url& serviceDirectoryUrl);
123 = ka::constant_function(false));
132 #endif // _QIMESSAGING_SERVICEDIRECTORYPROXY_HPP_
std::function< bool(boost::string_ref)> ServiceFilter
dll import/export and compiler message
ConnectionStatus connection
boost::shared_ptr< AuthProviderFactory > AuthProviderFactoryPtr
boost::shared_ptr< ClientAuthenticatorFactory > ClientAuthenticatorFactoryPtr
#define QI_API_DEPRECATED_MSG(msg__)
Compiler flags to mark a function as deprecated. It will generate a compiler warning.
std::vector< Url > UrlVector