Package org.sensorhub.api.client
Interface IClientModule<ConfigType extends ClientConfig>
- Type Parameters:
ConfigType
-
- All Superinterfaces:
IEventProducer
,IModule<ConfigType>
,IModuleBase<ConfigType>
Common base for client modules connecting to remote services
- Since:
- Apr 1, 2016
-
Field Summary
Fields inherited from interface org.sensorhub.api.module.IModule
CANNOT_INIT_MSG, CANNOT_LOAD_MSG, CANNOT_START_MSG, CANNOT_STOP_MSG, CANNOT_UPDATE_MSG
-
Method Summary
Methods inherited from interface org.sensorhub.api.module.IModule
cleanup, getCurrentError, getCurrentState, getDescription, getLocalID, getLogger, getParentHub, getStatusMessage, init, isInitialized, isStarted, loadState, registerListener, saveState, setConfiguration, setParentHub, start, stop, unregisterListener, updateConfig, waitForState
Methods inherited from interface org.sensorhub.api.module.IModuleBase
getConfiguration, getName, init
-
Method Details
-
isConnected
boolean isConnected()Returns the client connection status.- Returns:
- true if client is actually connected and can communicate with the remote service
-