|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Stopable
Implement stop to be informed when the service is about to stop. Multiple instances of Stopable can register themselves with the ServiceStopper.
Method Summary | |
---|---|
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. |
Method Detail |
---|
void onServiceStop()
int timeToWait()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |