add stopAndWait backcompat method
This commit is contained in:
parent
5ba12f568d
commit
129bb7e80b
|
@ -222,6 +222,13 @@ public class Service extends Win32 {
|
||||||
control(CONTROL_STOP);
|
control(CONTROL_STOP);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated
|
||||||
|
*/
|
||||||
|
public void stopAndWait(long timeout) throws Win32Exception {
|
||||||
|
return stop(timeout);
|
||||||
|
}
|
||||||
|
|
||||||
public void stop(long timeout) throws Win32Exception
|
public void stop(long timeout) throws Win32Exception
|
||||||
{
|
{
|
||||||
long status;
|
long status;
|
||||||
|
|
Loading…
Reference in New Issue