Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
remove a now useless conversion script
[simgrid.git] / src / mc / remote / Channel.hpp
index 62edf6607815cf3e7bc8b09c8d78a34b3e5c3cc8..a3e234410cdcc791812d6d5ac4ed7f27401ea746 100644 (file)
@@ -1,5 +1,4 @@
-/* Copyright (c) 2015-2018. The SimGrid Team.
- * All rights reserved.                                                     */
+/* Copyright (c) 2015-2019. The SimGrid Team. All rights reserved.          */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
@@ -7,16 +6,14 @@
 #ifndef SIMGRID_MC_CHANNEL_HPP
 #define SIMGRID_MC_CHANNEL_HPP
 
-#include <unistd.h>
+#include "src/mc/remote/mc_protocol.h"
 
 #include <type_traits>
 
-#include "src/mc/remote/mc_protocol.h"
-
 namespace simgrid {
 namespace mc {
 
-/** A channel for exchanging messages between model-checker and model-checked
+/** A channel for exchanging messages between model-checker and model-checked app
  *
  *  This abstracts away the way the messages are transferred. Currently, they
  *  are sent over a (connected) `SOCK_SEQPACKET` socket.
@@ -66,7 +63,7 @@ public:
     return this->receive(&m, sizeof(M));
   }
 
-  int getSocket() const { return socket_; }
+  int get_socket() const { return socket_; }
 };
 }
 }