X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1098e770381274687f9569b22b50dac4000e9ed4..c8d6bade6ee8fff928228bec67e9b2e86484793d:/src/mc/Client.hpp diff --git a/src/mc/Client.hpp b/src/mc/Client.hpp index b4f95caa90..9c6c642a24 100644 --- a/src/mc/Client.hpp +++ b/src/mc/Client.hpp @@ -22,6 +22,10 @@ namespace simgrid { namespace mc { +/** Model-checked-side of the communication protocol + * + * Send messages to the model-checker and handles message from it. + */ class XBT_PUBLIC() Client { private: bool active_ = false; @@ -29,7 +33,7 @@ private: static std::unique_ptr client_; public: Client(); - Client(int fd) : active_(true), channel_(fd) {} + explicit Client(int fd) : active_(true), channel_(fd) {} void handleMessages(); Channel const& getChannel() const { return channel_; } Channel& getChannel() { return channel_; }