BEAST
eu.baltrad.beast.rules.timer.TimeoutTask Class Reference
Inheritance diagram for eu.baltrad.beast.rules.timer.TimeoutTask:

Public Member Functions

 TimeoutTask ()
 Default constructor.
 
void run ()
 
boolean cancel ()
 
boolean stop ()
 Stops the task,.
 
void setId (long id)
 
long getId ()
 
void setRule (ITimeoutRule rule)
 
ITimeoutRule getRule ()
 
void setListener (ITimeoutTaskListener listener)
 
ITimeoutTaskListener getListener ()
 
void setData (Object data)
 
Object getData ()
 

Detailed Description

Author
Anders Henja

Constructor & Destructor Documentation

◆ TimeoutTask()

eu.baltrad.beast.rules.timer.TimeoutTask.TimeoutTask ( )
inline

Default constructor.

Member Function Documentation

◆ cancel()

boolean eu.baltrad.beast.rules.timer.TimeoutTask.cancel ( )
inline
See also
java.util.TimerTask.cancel()

◆ getData()

Object eu.baltrad.beast.rules.timer.TimeoutTask.getData ( )
inline
Returns
the data

◆ getId()

long eu.baltrad.beast.rules.timer.TimeoutTask.getId ( )
inline
Returns
the id

◆ getListener()

ITimeoutTaskListener eu.baltrad.beast.rules.timer.TimeoutTask.getListener ( )
inline
Returns
the listener

◆ getRule()

ITimeoutRule eu.baltrad.beast.rules.timer.TimeoutTask.getRule ( )
inline
Returns
the rule

◆ run()

void eu.baltrad.beast.rules.timer.TimeoutTask.run ( )
inline
See also
java.util.TimerTask.run()

◆ setData()

void eu.baltrad.beast.rules.timer.TimeoutTask.setData ( Object data)
inline
Parameters
datathe data to set

◆ setId()

void eu.baltrad.beast.rules.timer.TimeoutTask.setId ( long id)
inline
Parameters
idthe id to set

◆ setListener()

void eu.baltrad.beast.rules.timer.TimeoutTask.setListener ( ITimeoutTaskListener listener)
inline
Parameters
listenerthe listener to set

◆ setRule()

void eu.baltrad.beast.rules.timer.TimeoutTask.setRule ( ITimeoutRule rule)
inline
Parameters
rulethe rule to set

◆ stop()

boolean eu.baltrad.beast.rules.timer.TimeoutTask.stop ( )
inline

Stops the task,.

See also
java.util.TimerTask.cancel().

The documentation for this class was generated from the following file: