#include <qmf/Agent.h>
Definition at line 50 of file Agent.h.
§ Impl
§ Agent() [1/2]
qmf::Agent::Agent |
( |
AgentImpl * |
impl = 0 | ) |
|
§ Agent() [2/2]
qmf::Agent::Agent |
( |
const Agent & |
| ) |
|
§ ~Agent()
§ callMethod()
Create a subscription to this agent.
§ callMethodAsync()
§ getAttribute()
§ getAttributes()
§ getEpoch()
§ getInstance()
std::string qmf::Agent::getInstance |
( |
| ) |
const |
§ getName()
std::string qmf::Agent::getName |
( |
| ) |
const |
§ getPackage()
const std::string& qmf::Agent::getPackage |
( |
uint32_t |
| ) |
const |
§ getPackageCount()
uint32_t qmf::Agent::getPackageCount |
( |
| ) |
const |
Get the list of schema packages exposed by the agent.
getPackageCount returns the number of packages exposed. getPackage returns the name of the package by index (0..package-count)
Note that both of these calls are synchronous and non-blocking. They only return locally cached data and will not send any messages to the remote agent. Use querySchema[Async] to get the latest schema information from the remote agent.
§ getProduct()
std::string qmf::Agent::getProduct |
( |
| ) |
const |
§ getSchema()
Get detailed schema information for a specified schema ID.
This call will return cached information if it is available. If not, it will send a query message to the remote agent and block waiting for a response. The timeout argument specifies the maximum time to wait for a response from the agent.
§ getSchemaId()
§ getSchemaIdCount()
uint32_t qmf::Agent::getSchemaIdCount |
( |
const std::string & |
| ) |
const |
Get the list of schema identifiers for a particular package.
getSchemaIdCount returns the number of IDs in the indicates package. getSchemaId returns the SchemaId by index (0..schema-id-count)
Note that both of these calls are synchronous and non-blocking. They only return locally cached data and will not send any messages to the remote agent. Use querySchema[Async] to get the latest schema information from the remote agent.
§ getVendor()
std::string qmf::Agent::getVendor |
( |
| ) |
const |
§ isNull()
- Returns
- true if handle is null. It is an error to call any function on a null handle.
Definition at line 50 of file Handle.h.
§ isValid()
- Returns
- true if handle is valid, i.e. not null.
Definition at line 47 of file Handle.h.
§ operator bool()
Conversion to bool supports idiom if (handle) { handle->...
}
Definition at line 53 of file Handle.h.
§ operator!()
Operator ! supports idiom if (!handle) { do_if_handle_is_null(); }.
Definition at line 56 of file Handle.h.
§ operator=()
§ query() [1/2]
§ query() [2/2]
§ queryAsync() [1/2]
§ queryAsync() [2/2]
uint32_t qmf::Agent::queryAsync |
( |
const std::string & |
| ) |
|
§ querySchema()
Query the agent for a list of schema classes that it exposes.
This operation comes in both synchronous (blocking) and asynchronous flavors.
This method will typically be used after receiving an AGENT_SCHEMA_UPDATE event from the console session. It may also be used on a newly discovered agent to learn what schemata are exposed.
querySchema returns a ConsoleEvent that contains a list of SchemaId objects exposed by the agent. This list is cached locally and can be locally queried using getPackage[Count] and getSchemaId[Count].
§ querySchemaAsync()
uint32_t qmf::Agent::querySchemaAsync |
( |
| ) |
|
§ swap()
§ impl
The documentation for this class was generated from the following file: