|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ServiceConfig
- Service Configuration Class returned by this loaderParam
- Parameter Class passed in to this loaderpublic interface ConfigurationLoader<ServiceConfig,Param>
An ConfigurationLoader loads a ServiceConfig with a specific version. The ServiceConfig is used to connect to some Service such as: Servos, Microphone, Text-to-Speech, Face Tracking, etc...
Method Summary | |
---|---|
Class<ServiceConfig> |
getConfigurationClass()
Returns the Class of the ServiceConfig to be loaded. |
VersionProperty |
getConfigurationFormat()
Specifies the Service Configuration Format version which can be loaded. |
Class<Param> |
getParameterClass()
Returns the Class of the Parameter required to load a ServiceConfig. |
ServiceConfig |
loadConfiguration(Param param)
Loads a ServiceConfig of the specified type from the given parameters. |
Method Detail |
---|
VersionProperty getConfigurationFormat()
ServiceConfig loadConfiguration(Param param) throws Exception
param
- parameters needed to load the ServiceConfig
Exception
- if there is an error loading the configurationClass<ServiceConfig> getConfigurationClass()
Class<Param> getParameterClass()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |