Package org.sensorhub.api.comm
Interface ICommProvider<ConfigType extends CommProviderConfig<?>>
- Type Parameters:
ConfigType
- Comm module config type
- All Superinterfaces:
IEventProducer
,IModule<ConfigType>
,IModuleBase<ConfigType>
public interface ICommProvider<ConfigType extends CommProviderConfig<?>>
extends IModule<ConfigType>
Interface for all communication providers giving access to an input stream for reading incoming data and an output stream for sending outgoing data.
- Since:
- Jun 19, 2015
-
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
-
getInputStream
- Throws:
IOException
-
getOutputStream
- Throws:
IOException
-