Kanzi Connect 3.9.12
ServiceBase Class Referenceabstract
Inheritance diagram for ServiceBase:
ForegroundServiceBase

Classes

class  StateChangeMonitor
 

Public Member Functions

 ServiceBase (String serverName)
 
 ServiceBase (String serverName, int logLevel)
 
ClientConnector getClientConnector ()
 
String getServerAddress ()
 
IBinder onBind (Intent intent)
 
void onCreate ()
 
void onDestroy ()
 
int onStartCommand (Intent intent, int flags, int startId)
 

Protected Member Functions

abstract AbstractService getConnectService (ClientConnector connector)
 
void initialize ()
 
boolean isReadyToInitialize ()
 
void onConnectionStateChanged (ClientConnector.State state)
 Subclasses can implement this to react to connection state changes of Kanzi Connect.
 

Member Function Documentation

◆ onConnectionStateChanged()

void onConnectionStateChanged ( ClientConnector.State state)
protected

Subclasses can implement this to react to connection state changes of Kanzi Connect.

Reimplemented in ForegroundServiceBase.