Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'doc' into 'master'
[simgrid.git] / include / simgrid / s4u / Comm.hpp
index 9869018004ef2e22185c7093c792258ff9dff3e0..2e891c9249ac6f9733e31ebc21d177fe1d72bfa3 100644 (file)
@@ -113,11 +113,11 @@ public:
   CommPtr set_tracing_category(const std::string& category);
 
   /** Retrieve the mailbox on which this comm acts */
-  Mailbox* get_mailbox();
+  Mailbox* get_mailbox() const;
   /** Retrieve the size of the received data. Not to be mixed with @ref Activity::set_remaining()  */
-  size_t get_dst_data_size();
+  size_t get_dst_data_size() const;
 
-  Actor* get_sender();
+  Actor* get_sender() const;
 };
 } // namespace s4u
 } // namespace simgrid