Package se.sics.kompics.timer
Class ScheduleTimeout
java.lang.Object
se.sics.kompics.Request
se.sics.kompics.timer.ScheduleTimeout
- All Implemented Interfaces:
Cloneable
,KompicsEvent
public final class ScheduleTimeout extends Request
The
ScheduleTimeout
class.- Version:
- $Id$
- Author:
- Cosmin Arad <[email protected]>, Jim Dowling <[email protected]>
-
Constructor Summary
Constructors Constructor Description ScheduleTimeout(long delay)
Instantiates a new schedule timeout. -
Method Summary
Modifier and Type Method Description long
getDelay()
Gets the delay.Timeout
getTimeoutEvent()
Gets the timeout event.void
setTimeoutEvent(Timeout timeout)
Sets the timeout event.
-
Constructor Details
-
ScheduleTimeout
Instantiates a new schedule timeout.- Parameters:
delay
- the delay
-
-
Method Details
-
getDelay
Gets the delay.- Returns:
- the delay
-
setTimeoutEvent
Sets the timeout event.- Parameters:
timeout
- the new timeout event
-
getTimeoutEvent
Gets the timeout event.- Returns:
- the timeout event
-