public interface IService
Modifier and Type | Method and Description |
---|---|
void |
addListener(IServiceListener listener)
Adds a listener for sensor updates.
|
java.util.Properties |
getConfiguration()
Configuration properties accessor.
|
java.util.List<java.lang.String> |
getFileData(java.lang.String name)
Returns data from the specified file as a sting array.
|
java.util.List<java.lang.String> |
getFileNames()
File names property accessor.
|
void |
removeListener(IServiceListener listener)
Removes a listener for sensor updates.
|
void |
setConfiguration(java.util.Properties config)
Configuration properties accessor.
|
java.util.Properties getConfiguration() throws ServiceException
ServiceException
- if communication or application error occurs.void setConfiguration(java.util.Properties config) throws ServiceException
config
- modified configuration properties.ServiceException
- if communication or application error occurs.java.util.List<java.lang.String> getFileNames() throws ServiceException
ServiceException
- if communication or application error occurs.java.util.List<java.lang.String> getFileData(java.lang.String name) throws ServiceException
name
- of the file in the ./log directory.ServiceException
- if communication or application error occurs.void addListener(IServiceListener listener) throws ServiceException
listener
- the listener to add.ServiceException
- if communication or application error occurs.void removeListener(IServiceListener listener) throws ServiceException
listener
- the listener to remove.ServiceException
- if communication or application error occurs.