Smartswitch
|
This interface enables to set the range of time during which the ForwardingRule should be active during the week. More...
defined in <Timetable.ice>
interface Timetable extends Smartswitch::Destroyable { ... }
Operations | |
TimeOfDay | getFrom (DayOfWeek dayOfWeek) |
Obtain the TimeOfDay of a given DayOfWeek at which the ForwardingRule activates. More... | |
TimeOfDay | getTo (DayOfWeek dayOfWeek) |
Obtain the TimeOfDay of a given DayOfWeek at which the ForwardingRule deactivates. More... | |
void | setFrom (DayOfWeek dayOfWeek, TimeOfDay timeOfDay) throws ArgumentException |
Set the TimeOfDay for a given DayOfWeek at which to activate the ForwardingRule. More... | |
void | setTo (DayOfWeek dayOfWeek, TimeOfDay timeOfDay) throws ArgumentException |
Set the TimeOfDay for a given DayOfWeek at which to deactivate the ForwardingRule. More... | |
Operations inherited from Smartswitch::Destroyable | |
void | destroy () |
Destroy the proxy entity at the Smartswitch side. More... | |
This interface enables to set the range of time during which the ForwardingRule should be active during the week.
The Timetable may look like this (the example of forwarding timetable in non-working hours):
DayOfWeek | TimeOfDay |
---|---|
Monday | 1800 |
Tuesday | 1800 |
Wednesday | 1800 |
Thursday | 1800 |
Friday | 1800 |
Saturday | 0059 |
Sunday | 0059 |
void setFrom | ( | DayOfWeek | dayOfWeek, |
TimeOfDay | timeOfDay | ||
) | throws ArgumentException |
void setTo | ( | DayOfWeek | dayOfWeek, |
TimeOfDay | timeOfDay | ||
) | throws ArgumentException |