SystemServicepublic interface SystemService System service interface. System service runs in AMS Isolate
and provides some service for other Isolates, using
SystemSeviceConnection as means of communication between
service and clients. |
Methods Summary |
---|
public void | acceptConnection(SystemServiceConnection connection)Accepts connection. When client requests a service, first,
a connection between client and service is created, and then
it is passed to service via this method to accept it and
start doing its thing. Note: you shouldn't block in this
method.
| public java.lang.String | getServiceID()Gets unique service identifier.
| public void | start()Starts service. Called when service is about to be
requested for the first time. Thus, services can be
initialized lazily, only when they are really needed.
| public void | stop()Shutdowns service.
|
|