Class CountdownAgent
- java.lang.Object
- 
- jadex.examples.presentationtimer.display.CountdownAgent
 
- 
- All Implemented Interfaces:
- ICountdownGUIService,- ICountdownService
 
 public class CountdownAgent extends java.lang.Object implements ICountdownService, ICountdownGUIService 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface jadex.examples.presentationtimer.common.ICountdownServiceICountdownService.ICountdownListener
 
- 
 - 
Constructor SummaryConstructors Constructor Description CountdownAgent()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description IFuture<java.lang.Void>addListener(ICountdownService.ICountdownListener l)voidagentCreated()IFuture<State>getState()IFuture<java.lang.String>getTime()voidinformStateUpdated(State state)voidinformTimeUpdated(java.lang.String timeString)ISubscriptionIntermediateFuture<State>registerForState()ISubscriptionIntermediateFuture<java.lang.String>registerForTime()IFuture<java.lang.Void>reset()voidsetController(ICountdownController controller)IFuture<java.lang.Void>start()IFuture<java.lang.Void>stop()
 
- 
- 
- 
Method Detail- 
addListenerpublic IFuture<java.lang.Void> addListener(ICountdownService.ICountdownListener l) - Specified by:
- addListenerin interface- ICountdownService
 
 - 
registerForStatepublic ISubscriptionIntermediateFuture<State> registerForState() - Specified by:
- registerForStatein interface- ICountdownService
 
 - 
registerForTimepublic ISubscriptionIntermediateFuture<java.lang.String> registerForTime() - Specified by:
- registerForTimein interface- ICountdownService
 
 - 
getStatepublic IFuture<State> getState() - Specified by:
- getStatein interface- ICountdownService
 
 - 
getTimepublic IFuture<java.lang.String> getTime() - Specified by:
- getTimein interface- ICountdownService
 
 - 
startpublic IFuture<java.lang.Void> start() - Specified by:
- startin interface- ICountdownService
 
 - 
stoppublic IFuture<java.lang.Void> stop() - Specified by:
- stopin interface- ICountdownService
 
 - 
resetpublic IFuture<java.lang.Void> reset() - Specified by:
- resetin interface- ICountdownService
 
 - 
informTimeUpdatedpublic void informTimeUpdated(java.lang.String timeString) - Specified by:
- informTimeUpdatedin interface- ICountdownGUIService
 
 - 
informStateUpdatedpublic void informStateUpdated(State state) - Specified by:
- informStateUpdatedin interface- ICountdownGUIService
 
 - 
setControllerpublic void setController(ICountdownController controller) - Specified by:
- setControllerin interface- ICountdownGUIService
 
 - 
agentCreatedpublic void agentCreated() 
 
- 
 
-