-/* Copyright (c) 2006-2019. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2006-2020. 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. */
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