- public abstract ObjectPath get_unit(string name) throws DBus.Error;
- public abstract ObjectPath load_unit(string name) throws DBus.Error;
- public abstract ObjectPath get_job(uint32 id) throws DBus.Error;
+ public abstract ObjectPath start_unit(string name, string mode = "replace") throws IOError;
+ public abstract ObjectPath stop_unit(string name, string mode = "replace") throws IOError;
+ public abstract ObjectPath reload_unit(string name, string mode = "replace") throws IOError;
+ public abstract ObjectPath restart_unit(string name, string mode = "replace") throws IOError;
+ public abstract ObjectPath try_restart_unit(string name, string mode = "replace") throws IOError;
+ public abstract ObjectPath reload_or_restart_unit(string name, string mode = "replace") throws IOError;
+ public abstract ObjectPath reload_or_try_restart_unit(string name, string mode = "replace") throws IOError;