summaryrefslogtreecommitdiff
path: root/cpp/include/qpid/agent
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/qpid/agent')
-rw-r--r--cpp/include/qpid/agent/ManagementAgent.h9
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.
//