Request to add a scheduled sleep.
| Modifiers | Name | Description |
|---|---|---|
protected SleepCycle |
sleepCycle |
| Constructor and description |
|---|
AddScheduledSleepReq
()Request immediate sleep forever. |
AddScheduledSleepReq
(Date wakeupTime)Request immediate sleep until a specified time. |
AddScheduledSleepReq
(long wakeupTime)Request immediate sleep until a specified time. |
AddScheduledSleepReq
(Date sleepTime, Date wakeupTime)Request sleep from a given time until a wakeup time. |
AddScheduledSleepReq
(long sleepTime, long wakeupTime)Request sleep from a given time until a wakeup time. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
SleepCycle |
getSleepCycle()Gets the sleep/wakeup times. |
|
Date |
getSleepTime()Gets the sleep time. |
|
Date |
getWakeupTime()Gets the wakeup time. |
|
String |
toString() |
| Methods inherited from class | Name |
|---|---|
class Message |
toString, setRecipient, setPerformative, getPerformative, getRecipient, setSender, getSender, setMessageID, getMessageID, setInReplyTo, getInReplyTo, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
class Object |
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Request immediate sleep forever.
Request immediate sleep until a specified time.
Request immediate sleep until a specified time.
Request sleep from a given time until a wakeup time.
Request sleep from a given time until a wakeup time.
Gets the sleep/wakeup times.
Gets the sleep time.
Gets the wakeup time.
Copyright 2013-19, Acoustic Research Laboratory, National University of Singapore, and Subnero Pte Ltd