- All Known Implementing Classes:
public interface Timed_component
AbstractTimer_monitoris preferable because this class provides a default implementation.
Compatibility: Java 9.
time_outThis method is called when
A software component receiving a time-out may check the delay and/or the context in which, it asks for timer services. Normally, the content of this method starts with several transitions (see the
AbstractStateMachine.fires(String,AbstractState,AbstractState,Object,String,Object,Object,String,Object,byte)method) and ends with a run-to-completion cycle, namely
_my_state_machine.run_to_completion("time_out");where the type of the
_my_state_machinefield in the component is
time_out_errorThis method is called when timer services raise problems.
A software component receiving a time-out error may know the reason why the requested timer services fail (
separameter). The content of this method may be left empty. The requested timer services that are causing problems are indeed automatically canceled.