X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d33e7a563a884247bff85406dcc589a70a162e79..9960ea202c197830987b497fd1d2619c887ea9eb:/src/mc/remote/Client.hpp?ds=sidebyside diff --git a/src/mc/remote/Client.hpp b/src/mc/remote/Client.hpp index b9059a3229..dc10fd8c40 100644 --- a/src/mc/remote/Client.hpp +++ b/src/mc/remote/Client.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2015. The SimGrid Team. +/* Copyright (c) 2015-2017. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -28,20 +28,20 @@ namespace mc { */ class XBT_PUBLIC() Client { private: - bool active_ = false; Channel channel_; static std::unique_ptr instance_; public: Client(); - explicit Client(int fd) : active_(true), channel_(fd) {} + explicit Client(int fd) : channel_(fd) {} void handleMessages(); private: - void handleDeadlockCheck(mc_message_t* msg); - void handleContinue(mc_message_t* msg); + void handleDeadlockCheck(s_mc_message_t* msg); + void handleContinue(s_mc_message_t* msg); void handleSimcall(s_mc_message_simcall_handle_t* message); void handleRestore(s_mc_message_restore_t* msg); + void handleActorEnabled(s_mc_message_actor_enabled_t* msg); public: Channel const& getChannel() const { return channel_; }