diff options
Diffstat (limited to 'java/src/ServiceObject.java')
-rw-r--r-- | java/src/ServiceObject.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/java/src/ServiceObject.java b/java/src/ServiceObject.java index 56761f81267..1c420c08f3b 100644 --- a/java/src/ServiceObject.java +++ b/java/src/ServiceObject.java @@ -59,4 +59,22 @@ public class ServiceObject implements EventHandler { return -1; } + + /** + * Request that this service suspend activity. Overwrite this + * method to do anything useful. + */ + public int suspend () + { + return -1; + } + + /** + * Request that this service resume activity. Overwrite this + * method to do anything useful. + */ + public int resume () + { + return -1; + } } |