diff options
| author | Ted Ross <tross@apache.org> | 2010-05-25 14:02:49 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2010-05-25 14:02:49 +0000 |
| commit | 20def4fc6769f8ade4cf5b341c40249745ff95e2 (patch) | |
| tree | 11fcc54c98ba911cd9d9dd933244cb9d9626b5d5 /cpp/include/qpid/agent | |
| parent | 708b53fae2a61e608d4f7329c4ae81a7a0556dc5 (diff) | |
| download | qpid-python-20def4fc6769f8ade4cf5b341c40249745ff95e2.tar.gz | |
Replaced the earlier-removed init function (in ManagementAgent.h) that uses
ConnectionSettings. Created a ConnectionSettings in the qpid::management name
space that mirrors that from the qpid::client namespace.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@948046 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/include/qpid/agent')
| -rw-r--r-- | cpp/include/qpid/agent/ManagementAgent.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/cpp/include/qpid/agent/ManagementAgent.h b/cpp/include/qpid/agent/ManagementAgent.h index 456b657dc2..d534416da2 100644 --- a/cpp/include/qpid/agent/ManagementAgent.h +++ b/cpp/include/qpid/agent/ManagementAgent.h @@ -24,6 +24,7 @@ #include "qpid/management/ManagementObject.h" #include "qpid/management/ManagementEvent.h" #include "qpid/management/Manageable.h" +#include "qpid/management/ConnectionSettings.h" namespace qpid { namespace management { @@ -103,6 +104,12 @@ class ManagementAgent const std::string& mech = "PLAIN", const std::string& proto = "tcp") = 0; + virtual void init(const management::ConnectionSettings& settings, + uint16_t intervalSeconds = 10, + bool useExternalThread = false, + const std::string& storeFile = "") = 0; + + // Register a schema with the management agent. This is normally called by the // package initializer generated by the management code generator. // @@ -117,7 +124,7 @@ class ManagementAgent const std::string& eventName, uint8_t* md5Sum, management::ManagementEvent::writeSchemaCall_t schemaCall) = 0; - + // Add a management object to the agent. Once added, this object shall be visible // in the greater management context. // |
