/* * rmpaProtocol.cpp * * Gouverneur Th. - Cuisinier Gi. * * Define the server-side protocol RMPA and * his implementation * */ #ifndef RMPA_PROTOCOL_H #define RMPA_PROTOCOL_H #include #include #include /* * this class is a sort-of "storing class" * containing the different method, called * when a message is received from network * by the server sideo. * * Also, this class cannot be in the librairy, * indeed, this class make the link between * the parser (general), and the protocol * that is implemented in THIS client/server. */ class RMPAProtocol { public: /* char-oriented */ static void cmdLClients (Message *); /* list clients */ static void cmdSusps (Message *); /* suspend or restart server... */ static void cmdStops (Message *); /* stop server after X seconds */ /* bytes-oriented */ /* NOT YET IMPLEMENTED */ }; #endif