1 #ifndef QMF_CONSOLE_SESSION_H
2 #define QMF_CONSOLE_SESSION_H
24 #if !defined(QMF_USE_DEPRECATED_API) && !defined(qmf2_EXPORTS) && !defined(SWIG)
25 # error "The API defined in this file has been DEPRECATED and will be removed in the future."
26 # error "Define 'QMF_USE_DEPRECATED_API' to enable continued use of the API."
40 template <
class>
class PrivateImplRef;
43 class ConsoleSessionImpl;
49 QMF_EXTERN ConsoleSession(
const ConsoleSession&);
50 QMF_EXTERN ConsoleSession& operator=(
const ConsoleSession&);
81 QMF_EXTERN void setDomain(
const std::string& domain);
82 QMF_EXTERN void setAgentFilter(
const std::string& filter);
126 QMF_EXTERN Subscription subscribe(
const std::string& query,
const std::string& agentFilter =
"",
const std::string& options =
"");
131 friend struct ConsoleSessionImplAccess;
A duration is a time in milliseconds.
static const Duration FOREVER
A connection represents a network connection to a remote endpoint.
A handle is like a pointer: refers to an underlying implementation object.