add stopAndWait backcompat method

This commit is contained in:
Doug MacEachern 2005-09-24 22:58:26 +00:00
parent 5ba12f568d
commit 129bb7e80b
1 changed files with 7 additions and 0 deletions

View File

@ -222,6 +222,13 @@ public class Service extends Win32 {
control(CONTROL_STOP);
}
/**
* @deprecated
*/
public void stopAndWait(long timeout) throws Win32Exception {
return stop(timeout);
}
public void stop(long timeout) throws Win32Exception
{
long status;