diff --git a/xroot_plugins/XrdSsiCtaRequestMessage.cpp b/xroot_plugins/XrdSsiCtaRequestMessage.cpp index 639d73ed49e201034a64d7eb83eff005c9e29dcd..bcd14dcc0cc086ca289fff76a0a2e8873b3a5447 100644 --- a/xroot_plugins/XrdSsiCtaRequestMessage.cpp +++ b/xroot_plugins/XrdSsiCtaRequestMessage.cpp @@ -33,7 +33,7 @@ void RequestMessage::process(const cta::xrd::Request &request, cta::xrd::Respons { using namespace cta::xrd; - case Request::kAdmincmd: + case Request::kAdmincmd: processAdminCmd(request.admincmd(), response); break; case Request::kNotification: processNotification(request.notification(), response); break; case Request::REQUEST_NOT_SET: throw PbException("Request message has not been set."); default: throw PbException("Unrecognized Request message. " @@ -43,6 +43,12 @@ void RequestMessage::process(const cta::xrd::Request &request, cta::xrd::Respons +void RequestMessage::processAdminCmd(const cta::xrd::AdminCmd &admin_cmd, cta::xrd::Response &response) +{ +} + + + void RequestMessage::processNotification(const cta::eos::Notification ¬ification, cta::xrd::Response &response) { switch(notification.wf().event()) diff --git a/xroot_plugins/XrdSsiCtaRequestMessage.hpp b/xroot_plugins/XrdSsiCtaRequestMessage.hpp index b4cb54b8debc8dbced169b3784b5bf78b6aff3df..d9405bca6e57a0c30d7cab851ba821ffa6e74e67 100644 --- a/xroot_plugins/XrdSsiCtaRequestMessage.hpp +++ b/xroot_plugins/XrdSsiCtaRequestMessage.hpp @@ -45,11 +45,19 @@ public: void process(const cta::xrd::Request &request, cta::xrd::Response &response); private: + /*! + * Process the Admin Command message type + * + * @param[in] admincmd Admin command from the cta admin cli + * @param[out] response Response message + */ + void processAdminCmd(const cta::xrd::AdminCmd &admin_cmd, cta::xrd::Response &response); + /*! * Process the EOS WFE Notification message type * * @param[in] notification Notification request message from EOS WFE - * @param[out] response Response message to return to EOS + * @param[out] response Response message */ void processNotification(const cta::eos::Notification ¬ification, cta::xrd::Response &response);