|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- type of configuration used to initialize the Service.public interface RemoteService<T>
RemoteService is an interface for controlling a Service through Messaging. RemoteService extends Playable, offering methods to start, pause, resume, and stop the service.
Method Summary | |
---|---|
Class<T> |
getConfigClass()
Returns the class of the config used to initialize. |
T |
getReusableConfig()
Returns an empty config which is used during initialization. |
void |
initialize(T config)
Initializes the Service with the given config. |
Methods inherited from interface org.robokind.api.common.playable.Playable |
---|
addPlayableListener, complete, getElapsedPauseTime, getElapsedPlayTime, getPauseTime, getPlayState, getResumeTime, getStartTime, getStopTime, pause, removePlayableListener, resume, start, stop |
Method Detail |
---|
void initialize(T config) throws Exception
config
- the configuration object used to initialize the Service
Exception
- if there is an error initializingClass<T> getConfigClass()
T getReusableConfig()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |