/* Bindings to the MSG hosts */
-/* Copyright (c) 2006-2018. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2006-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. */
package org.simgrid.msg;
-import org.simgrid.msg.Storage;
-
/**
* A host object represents a location (any possible place) where a process may run.
* Thus it is represented as a physical resource with computing capabilities, some
/** Starts the host if it is off */
public native void on();
/** Stops the host if it is on */
- public native void off();
+ public native void off() throws ProcessKilledError;
/**
* This method returns the speed of the processor of a host (in flops),