1 #ifndef QMF_AGENT_SESSION_H
2 #define QMF_AGENT_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."
39 template <
class>
class PrivateImplRef;
42 class AgentSessionImpl;
52 QMF_EXTERN AgentSession& operator=(
const AgentSession&);
92 QMF_EXTERN void setDomain(
const std::string& domain);
101 QMF_EXTERN void setVendor(
const std::string& vendor);
102 QMF_EXTERN void setProduct(
const std::string& product);
103 QMF_EXTERN void setInstance(
const std::string& instance);
115 QMF_EXTERN const std::string& getName()
const;
196 friend struct AgentSessionImplAccess;
A duration is a time in milliseconds.
static const Duration FOREVER
Represents a value of variable type.
A connection represents a network connection to a remote endpoint.
A handle is like a pointer: refers to an underlying implementation object.