diff --git a/include/transport/AdminInterface.h b/include/transport/AdminInterface.h index 3ab0394174c5e02977b93f2cc6b52f196a8938ab..bd82ce95f313df39af0c234d01208bbdd0fd896e 100644 --- a/include/transport/AdminInterface.h +++ b/include/transport/AdminInterface.h @@ -32,6 +32,7 @@ class StorageBackend; class UserManager; class NetworkPluginServer; class UserRegistration; +class AdminInterfaceCommand; class AdminInterface { public: @@ -41,15 +42,18 @@ class AdminInterface { void handleQuery(Swift::Message::ref message); - private: + void addCommand(AdminInterfaceCommand *command); + void handleMessageReceived(Swift::Message::ref message); + private: + Component *m_component; StorageBackend *m_storageBackend; UserManager *m_userManager; NetworkPluginServer *m_server; UserRegistration *m_userRegistration; - time_t m_start; + std::map m_commands; }; }