Constructor and Description |
---|
SimpleStopper() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] argv) |
void |
onServiceStop()
Called when the service is about to stop.
|
int |
timeToWait()
How long should the ServiceStopper wait (in milliseconds) for the stop thread to die?
0 waits for ever.
|
public void onServiceStop()
Stopable
onServiceStop
in interface Stopable
public int timeToWait()
Stopable
timeToWait
in interface Stopable
public static void main(java.lang.String[] argv)