-s4u::Host *Actor::getHost() {
- return s4u::Host::by_name(sg_host_get_name(simcall_process_get_host(pimpl_)));
+void Actor::migrate(Host* new_host)
+{
+ simcall_process_set_host(pimpl_, new_host);
+}
+
+s4u::Host* Actor::host()
+{
+ return this->pimpl_->host;
+}
+
+const char* Actor::cname()
+{
+ return this->pimpl_->name.c_str();
+}
+
+simgrid::xbt::string Actor::name()
+{
+ return this->pimpl_->name;