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;
static std::unique_ptr<Client> 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_; }