diff --git a/include/AuthManagerDriver.h b/include/AuthManagerDriver.h index 723f24d9f3..f018808ba6 100644 --- a/include/AuthManagerDriver.h +++ b/include/AuthManagerDriver.h @@ -50,8 +50,7 @@ public: * Implements the VM Manager driver protocol. * @param message the string read from the driver */ - void protocol( - string& message); + void protocol(const string& message) const; /** * Re-starts the driver diff --git a/include/HookManagerDriver.h b/include/HookManagerDriver.h index 164eff6670..af0d8c6fef 100644 --- a/include/HookManagerDriver.h +++ b/include/HookManagerDriver.h @@ -29,7 +29,7 @@ using namespace std; /** * HookManagerDriver provides a base class to implement Hook (Execution) * Drivers. This class implements the protocol and recover functions - * from the Mad interface. This class may be used to further specialize + * from the Mad interface. This class may be used to further specialize * the Execution driver. */ class HookManagerDriver : public Mad @@ -49,14 +49,13 @@ public: * Implements the Hook driver protocol. * @param message the string read from the driver */ - void protocol( - string& message); + void protocol(const string& message) const; /** * TODO: What do we need here? just poll the Hosts to recover.. */ void recover(); - + /**