| com.sun.midp.services.SystemService
SystemService | public interface SystemService (Code) | | 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.
|
acceptConnection | public void acceptConnection(SystemServiceConnection connection)(Code) | | 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.
Parameters: connection - connection between client and service |
getServiceID | public String getServiceID()(Code) | | Gets unique service identifier.
unique String service identifier |
start | public void start()(Code) | | 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.
|
stop | public void stop()(Code) | | Shutdowns service.
|
|
|