public class HelloWorldService extends java.lang.Object implements ch.e2e.bridge.server.BridgeJavaService<HelloWorldCallback>, ch.e2e.bridge.server.BridgeJavaServiceStartStopInterface
| Constructor and Description |
|---|
HelloWorldService() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(HelloWorldCallback callback)
initialize service, should not access other components or may cause race conditions
|
void |
shutDown()
stop accepting new requests
|
void |
start()
start serving requests.
|
void |
stop()
wait for active requests to finish and do some necessary cleanup
|
public void initialize(HelloWorldCallback callback)
initialize in interface ch.e2e.bridge.server.BridgeJavaService<HelloWorldCallback>callback - parameter with one or more member functions having an activity diagrampublic void start()
start in interface ch.e2e.bridge.server.BridgeJavaServiceStartStopInterfacepublic void shutDown()
shutDown in interface ch.e2e.bridge.server.BridgeJavaService<HelloWorldCallback>public void stop()
stop in interface ch.e2e.bridge.server.BridgeJavaServiceStartStopInterface