public interface Service
| Modifier and Type | Method and Description |
|---|---|
Throwable |
service_failure() |
void |
start(org.fusesource.hawtdispatch.Task onComplete)
Starts the service.
|
void |
stop(org.fusesource.hawtdispatch.Task onComplete)
Stops the service.
|
void start(org.fusesource.hawtdispatch.Task onComplete)
throws Exception
onComplete - my be set to null if not interested in a callback.Exceptionvoid stop(org.fusesource.hawtdispatch.Task onComplete)
throws Exception
onComplete - my be set to null if not interested in a callback.ExceptionThrowable service_failure()
Copyright © 2005–2015 The Apache Software Foundation. All rights reserved.