The Scheduler Service handles scheduling and conflict management of resources. A configuration file defines the possible activities and how many resources each activity consume. The application refers to these activities by name when a new booking is created to make it possible for the service to ensure there are no resource conflicts.
Resource management is naive, in that it only indicates potential conflicts. The application layer may still over-use the underlying resources in a way that creates a conflict, e.g. by starting more recordings than the network bandwidth, demuxing hardware or disk bandwidth can handle. It is up to the applications to actually indicate all resource usage by doing bookings and resolving the resulting conflicts.
import "ToiSchedulerService.idl";
Public Member Functions | |
TToiBookingId | schedule (in string category, in string activity, in TToiTime start, in long duration) raises (TToiInvalidArgumentException, TToiNotEnoughResourcesException) |
TToiSeriesId | scheduleSeries (in string category, in string activity, in TToiTime start, in long duration, in long weekdays, in long numberOfOccurrences, in TToiConflictStrategy conflictStrategy) raises (TToiInvalidArgumentException, TToiNotEnoughResourcesException) |
void | reschedule (in TToiBookingId id, in string category, in string activity, in TToiTime start, in long duration) raises (TToiInvalidArgumentException, TToiNotEnoughResourcesException) |
void | remove (in TToiBookingId id) raises (TToiInvalidArgumentException) |
void | removeSeries (in TToiSeriesId id) raises (TToiInvalidArgumentException) |
TToiConflictSequence | getConflicts (in TToiBookingId id, in string category, in string activity, in TToiTime start, in long duration) raises (TToiInvalidArgumentException) |
TToiConflictSequence | getSeriesConflicts (in TToiSeriesId id, in string category, in string activity, in TToiTime start, in long duration, in long weekdays, in long occurrence) raises (TToiInvalidArgumentException) |
TToiTime | getNextStartTime (in string categoryExpression) |
ToiSchedulerServiceBooking | getBooking (in TToiBookingId id) raises (TToiInvalidArgumentException) |
ToiSchedulerServiceSeries | getSeries (in TToiSeriesId id) raises (TToiInvalidArgumentException) |
TToiBookingIdSequence | getBookingIds (in string categoryExpression, in TToiTime start, in TToiTime stop) raises (TToiInvalidArgumentException) |
TToiSeriesIdSequence | getSeriesIds (in string categoryExpression) |
TToiBookingIdSequence | getBookingIdsForSeries (in TToiSeriesId seriesId) raises (TToiInvalidArgumentException) |
void | addTrigger (in TToiBookingId id, in TToiDelta delta) raises (TToiInvalidArgumentException) |
void | removeTrigger (in TToiBookingId id, in TToiDelta delta) raises (TToiInvalidArgumentException) |
void | addTriggerOnBookings (in TToiBookingIdSequence ids, in TToiDelta delta) raises (TToiInvalidArgumentException) |
void | removeTriggerOnBookings (in TToiBookingIdSequence ids, in TToiDelta delta) raises (TToiInvalidArgumentException) |
TToiDeltaSequence | getTriggers (in TToiBookingId id) raises (TToiInvalidArgumentException) |
void | setParameter (in TToiBookingId id, in string name, in string value) raises (TToiInvalidArgumentException) |
void | unsetParameter (in TToiBookingId id, in string name) raises (TToiInvalidArgumentException) |
string | getParameter (in TToiBookingId id, in string name) raises (TToiInvalidArgumentException) |
TToiParameterNameSequence | getParameterNames (in TToiBookingId id) raises (TToiInvalidArgumentException) |
void | setParametersOnBookings (in TToiBookingIdSequence ids, in TToiParameterNameSequence names, in TToiParameterValueSequence values) raises (TToiInvalidArgumentException) |
void | setSeriesParameter (in TToiSeriesId id, in string name, in string value) raises (TToiInvalidArgumentException) |
void | unsetSeriesParameter (in TToiSeriesId id, in string name) raises (TToiInvalidArgumentException) |
string | getSeriesParameter (in TToiSeriesId id, in string name) raises (TToiInvalidArgumentException) |
TToiParameterNameSequence | getSeriesParameterNames (in TToiSeriesId id) raises (TToiInvalidArgumentException) |
void | setCategorySubscription (in ToiEventListener eventListener, in string categoryExpression) raises (TToiInvalidArgumentException) |
void | addEventListener (in long type, in ToiEventListener listener) raises (TToiInvalidArgumentException) |
void | removeEventListener (in long type, in ToiEventListener listener) raises (TToiInvalidArgumentException) |
Public Attributes | |
const TToiBookingId | BOOKING_ID_NONE = 0 |
const TToiSeriesId | SERIES_ID_NONE = 0 |
const TToiTime | TIME_NOW = -1 |
const long | WEEKDAY_MONDAY = 1 |
const long | WEEKDAY_TUESDAY = 2 |
const long | WEEKDAY_WEDNESDAY = 4 |
const long | WEEKDAY_THURSDAY = 8 |
const long | WEEKDAY_FRIDAY = 16 |
const long | WEEKDAY_SATURDAY = 32 |
const long | WEEKDAY_SUNDAY = 64 |
const long | WEEKDAY_ALL_WEEKDAYS = 127 |
Events | |
const long | ON_SCHEDULED_START = 2200 |
const long | ON_SCHEDULED_STOP = 2201 |
const long | ON_SCHEDULED_TRIGGER = 2202 |
const long | ON_BOOKINGS_ADDED = 2203 |
const long | ON_BOOKINGS_REMOVED = 2204 |
const long | ON_BOOKINGS_CHANGED = 2205 |
const long | ON_SERIES_CHANGED = 2206 |
TToiConflictStrategy | |
const TToiConflictStrategy | CONFLICT_STRATEGY_FAIL = 0 |
const TToiConflictStrategy | CONFLICT_STRATEGY_SKIP_BOOKINGS = 1 |
TToiSolutionType | |
const TToiSolutionType | SOLUTION_TYPE_NONE = 0 |
const TToiSolutionType | SOLUTION_TYPE_REMOVE = 1 |
Public Types | |
typedef long | TToiBookingId |
typedef long | TToiSeriesId |
typedef long | TToiTime |
typedef long | TToiWeekdayMask |
typedef sequence< TToiBookingId > | TToiBookingIdSequence |
typedef sequence< TToiSeriesId > | TToiSeriesIdSequence |
typedef sequence < ToiSchedulerServiceBooking > | TToiBookingSequence |
typedef long | TToiConflictStrategy |
typedef long | TToiSolutionType |
typedef sequence < ToiSchedulerServiceSolution > | TToiConflictSequence |
typedef long | TToiDelta |
typedef sequence< TToiDelta > | TToiDeltaSequence |
typedef sequence< string > | TToiParameterNameSequence |
typedef sequence< string > | TToiParameterValueSequence |
typedef long ToiSchedulerService::TToiBookingId |
Identifier for scheduler bookings.
typedef sequence< TToiBookingId > ToiSchedulerService::TToiBookingIdSequence |
Collection of booking identifiers.
typedef sequence< ToiSchedulerServiceSolution > ToiSchedulerService::TToiConflictSequence |
This type is used as a return value when user wants to test if a new schedule request conflicts with old ones. Each entry in the list contains an alternative solution if there are several ways to resolve the conflict, e.g. by removing a different set of bookings.
typedef long ToiSchedulerService::TToiConflictStrategy |
Conflict handling strategy to apply when trying to schedule a series that results in conflicts with previous bookings.
typedef long ToiSchedulerService::TToiDelta |
Type representing time in seconds since start point of a certain booking. It might be negative to indicate a start point in the past.
typedef sequence< TToiDelta > ToiSchedulerService::TToiDeltaSequence |
Collection of delta times, which are the time values in seconds since start point of each booking.
typedef sequence< string > ToiSchedulerService::TToiParameterNameSequence |
Sequence of parameter names.
typedef sequence< string > ToiSchedulerService::TToiParameterValueSequence |
Sequence of parameter values.
typedef long ToiSchedulerService::TToiSeriesId |
Identifier for a series of bookings.
typedef sequence< TToiSeriesId > ToiSchedulerService::TToiSeriesIdSequence |
Collection of series identifiers.
typedef long ToiSchedulerService::TToiSolutionType |
Conflict solution type. SOLUTION_TYPE_NONE means there is no solution and the booking is impossible. SOLUTION_TYPE_REMOVE means one or more solutions exist.
typedef long ToiSchedulerService::TToiTime |
Type representing time in seconds since the Unix epoch (1970-01-01 00:00:00).
typedef long ToiSchedulerService::TToiWeekdayMask |
Type representing weekday masks. This is a bitwise OR between weekday constants.
void ToiEventTarget::addEventListener | ( | in long | type, | |
in ToiEventListener | listener | |||
) | raises (TToiInvalidArgumentException) [inherited] |
This method registers an event listener for a specific event. Multiple listeners can be added for the same event. Events are broadcast to all registered listeners.
type | The event type of the event to subscribe to. | |
listener | The JavaScript function that will receive events. |
TInvalidArgumentException | Raised if the event type is not supported by this object or if the listener is not a valid JavaScript function. This exception is also raised if the application calls addEventListener with the same combination of type and listener twice. |
void ToiSchedulerService::addTrigger | ( | in TToiBookingId | id, | |
in TToiDelta | delta | |||
) | raises (TToiInvalidArgumentException) |
Add triggers to a booking. For information on triggers, refer to the comments in (C++) ToiSchedulerObserver.
id | The booking identifier. | |
delta | The delta time in seconds since start point of an booking, may be negative to trigger a callback before the booking shall occur. |
TToiInvalidArgumentException | Raised if the booking does not exist. |
void ToiSchedulerService::addTriggerOnBookings | ( | in TToiBookingIdSequence | ids, | |
in TToiDelta | delta | |||
) | raises (TToiInvalidArgumentException) |
Add triggers to a number of bookings. If such a trigger is already define for a booking, no new trigger will be added.
ids | A sequence of booking identifiers that should use the new trigger. | |
delta | The delta time in seconds since start point of a booking. |
TToiInvalidArgumentException | Raised if one or more bookings can not be found. |
ToiSchedulerServiceBooking ToiSchedulerService::getBooking | ( | in TToiBookingId | id | ) | raises (TToiInvalidArgumentException) |
Get information about a booking.
id | The booking identifier to find information about. |
booking | The booking information. |
TToiInvalidArgumentException | The exception will be thrown if can not find a booking with the identifier. |
TToiBookingIdSequence ToiSchedulerService::getBookingIds | ( | in string | categoryExpression, | |
in TToiTime | start, | |||
in TToiTime | stop | |||
) | raises (TToiInvalidArgumentException) |
Get the bookings during start and stop time, with the same category.
categoryExpression | The category to use as filter. Wildcard "*" is partly supported. ToiSchedulerService::setCategorySubscription(). | |
start | Start time of the booking in seconds since the Unix epoch. A value of 0 means no limit. | |
stop | End time of the booking in seconds since the Unix epoch. A value of 0 means no limit. |
bookings | The sequence of booking identifiers found. |
TToiInvalidArgumentException | The exception will be thrown if start is later than stop. |
TToiBookingIdSequence ToiSchedulerService::getBookingIdsForSeries | ( | in TToiSeriesId | seriesId | ) | raises (TToiInvalidArgumentException) |
seriesId | The identifier of the series to retrieve bookings for |
bookings | The sequence of booking identifiers found. |
TToiInvalidArgumentException | Raised if the identifier does not exist. |
TToiConflictSequence ToiSchedulerService::getConflicts | ( | in TToiBookingId | id, | |
in string | category, | |||
in string | activity, | |||
in TToiTime | start, | |||
in long | duration | |||
) | raises (TToiInvalidArgumentException) |
Detect conflicts without actually createing a booking.
id | The identifier of the booking which need to be tested (in case of a rescheduling to be performed) or ToiSchedulerService::BOOKING_ID_NONE (in case of a new booking to be performed). | |
category | The category info for the attempted booking. | |
activity | The activity type for the attempted booking. | |
start | The start time for the attempted booking. Seconds since the Unix epoch. | |
duration | The duration time in seconds for the attempted booking. |
conflicts | If the attempt fails, this parameter will contain lists of existing bookings which have conflicts with the schedule request. Time and resources are considered here to determine whether conflicts exist. |
TToiInvalidArgumentException | The exception will be thrown if the identifer cannot be found. |
TToiTime ToiSchedulerService::getNextStartTime | ( | in string | categoryExpression | ) |
Get the expected starting time for next scheduled booking with matching category.
categoryExpression | The category to use as filter. Wildcard "*" is partly supported. ToiSchedulerService::setCategorySubscription(). |
nextStart | The expected starting time of next scheduled booking. If a booking is currently ongoing, 0 will be returned. |
string ToiSchedulerService::getParameter | ( | in TToiBookingId | id, | |
in string | name | |||
) | raises (TToiInvalidArgumentException) |
Get user defined parameters associated with a booking.
id | The booking identifier. | |
name | The name of the parameter. |
value | The value of the parameter. |
TToiInvalidArgumentException | Raised if the booking does not exist. |
TToiParameterNameSequence ToiSchedulerService::getParameterNames | ( | in TToiBookingId | id | ) | raises (TToiInvalidArgumentException) |
Get all user defined parameters names of a booking
id | The booking identifier. |
names | A sequence with names of the parameters. |
TToiInvalidArgumentException | Raised if the booking does not exist. |
ToiSchedulerServiceSeries ToiSchedulerService::getSeries | ( | in TToiSeriesId | id | ) | raises (TToiInvalidArgumentException) |
id | The series identifier to find information about. |
series | The info of the scheduled series |
TToiInvalidArgumentException | The exception will be thrown if the series can not be found. |
TToiConflictSequence ToiSchedulerService::getSeriesConflicts | ( | in TToiSeriesId | id, | |
in string | category, | |||
in string | activity, | |||
in TToiTime | start, | |||
in long | duration, | |||
in long | weekdays, | |||
in long | occurrence | |||
) | raises (TToiInvalidArgumentException) |
id | The identifier of the series which need to be tested (in case of a rescheduling to be performed) or ToiSchedulerService::SERIES_ID_NONE (in case of a new scheduling to be performed). | |
category | The category info for the attempted series. | |
activity | The activity type for the attempted series. | |
start | The start time for the attempted series. Seconds since the Unix epoch. | |
duration | The duration time in seconds for each occurence in the attempted series. | |
weekdays | Weekday mask indicating which days the series shall happen. | |
occurrence | The number occurrences to be tested. Must be greater than zero. |
conflicts | If the attempt fails, this parameter will contain lists of existing bookings which have conflicts with the schedule request. Time and resources are considered here to determine whether conflicts exist. |
TToiInvalidArgumentException | The exception will be thrown if the series can not be found. |
TToiSeriesIdSequence ToiSchedulerService::getSeriesIds | ( | in string | categoryExpression | ) |
categoryExpression | The category to use as filter. Wildcard "*" is partly supported. ToiSchedulerService::setCategorySubscription(). |
seriesIds | The sequence of series identifiers found. |
string ToiSchedulerService::getSeriesParameter | ( | in TToiSeriesId | id, | |
in string | name | |||
) | raises (TToiInvalidArgumentException) |
id | The identifier of the series. | |
name | The name of the parameter. |
value | The value of the parameter. |
TToiInvalidArgumentException | Raised if the series does not exist. |
TToiParameterNameSequence ToiSchedulerService::getSeriesParameterNames | ( | in TToiSeriesId | id | ) | raises (TToiInvalidArgumentException) |
id | The identifier of the series. |
names | A sequence of names of the parameters. |
TToiInvalidArgumentException | Raised if the series does not exist. |
TToiDeltaSequence ToiSchedulerService::getTriggers | ( | in TToiBookingId | id | ) | raises (TToiInvalidArgumentException) |
Get triggers associated with a booking.
id | The booking identifier. |
deltas | Sequences of trigger delta times associated with the booking. |
TToiInvalidArgumentException | Raised if the booking does not exist. |
void ToiSchedulerService::remove | ( | in TToiBookingId | id | ) | raises (TToiInvalidArgumentException) |
Remove a booking.
id | The identifier of the booking to be removed. |
TToiInvalidArgumentException | The exception will be thrown if the booking identifier does not exist. |
void ToiEventTarget::removeEventListener | ( | in long | type, | |
in ToiEventListener | listener | |||
) | raises (TToiInvalidArgumentException) [inherited] |
This method removes an event listener for a specific event.
type | The event type of the event to remove the listener from. | |
listener | The JavaScript function that was previously added as an event listener. |
TInvalidArgumentException | Raised if the event type is not supported by this object or if the listener is not a valid JavaScript function. This exception is also raised if the listener had not previously been added. |
void ToiSchedulerService::removeSeries | ( | in TToiSeriesId | id | ) | raises (TToiInvalidArgumentException) |
id | The identifier of the recurrent series to be removed. |
TToiInvalidArgumentException | The exception will be thrown if the series identifier does not exist. |
void ToiSchedulerService::removeTrigger | ( | in TToiBookingId | id, | |
in TToiDelta | delta | |||
) | raises (TToiInvalidArgumentException) |
Remove trigger from a booking.
id | The booking identifier. | |
delta | The delta time in seconds since start point of an booking, may be negative to trigger a callback before the booking shall occur. |
TToiInvalidArgumentException | Raised if the booking does not exist. |
void ToiSchedulerService::removeTriggerOnBookings | ( | in TToiBookingIdSequence | ids, | |
in TToiDelta | delta | |||
) | raises (TToiInvalidArgumentException) |
Remove triggers from a number of bookings. If there is no trigger with the specified delta - nothing will be changed for that booking.
ids | A sequence of booking identifiers that should remove the trigger. | |
delta | The delta time in seconds since start point of an booking. |
TToiInvalidArgumentException | Raised if one or more bookings can not be found. |
void ToiSchedulerService::reschedule | ( | in TToiBookingId | id, | |
in string | category, | |||
in string | activity, | |||
in TToiTime | start, | |||
in long | duration | |||
) | raises (TToiInvalidArgumentException, TToiNotEnoughResourcesException) |
Requests changing and rescheduling of a booking.
id | The identifier of the booking which needs to be rescheduled. | |
category | The new category info for the booking. | |
activity | The new activity type for the booking. | |
start | The start time for the booking. Seconds since the Unix epoch. | |
duration | The duration time in seconds for the booking. |
TToiInvalidArgumentException | The exception will be thrown if the booking identifier does not exist, if changing to a time in the past, or if the new activity used other resources. | |
TToiNotEnoughResourcesException | The exception will be thrown if the reschedule request fails due to resource conflict. |
TToiBookingId ToiSchedulerService::schedule | ( | in string | category, | |
in string | activity, | |||
in TToiTime | start, | |||
in long | duration | |||
) | raises (TToiInvalidArgumentException, TToiNotEnoughResourcesException) |
Requests scheduling of a new booking.
category | The category info for the booking. | |
activity | The activity type for the booking. | |
start | The start time for the booking. Seconds since the Unix epoch. | |
duration | The duration time in seconds for the booking. |
id | A generated booking identifier that will be used in further communication with the client. If the request fails due to conflicts with other bookings this value will be set to ToiSchedulerService::BOOKING_ID_NONE. |
TToiInvalidArgumentException | The exception will be thrown if the activity type does not exist or if start or time is in the past. | |
TToiNotEnoughResourcesException | The exception will be thrown if the schedule request fails because requested resources exceeds the amount of resources available on the system. |
TToiSeriesId ToiSchedulerService::scheduleSeries | ( | in string | category, | |
in string | activity, | |||
in TToiTime | start, | |||
in long | duration, | |||
in long | weekdays, | |||
in long | numberOfOccurrences, | |||
in TToiConflictStrategy | conflictStrategy | |||
) | raises (TToiInvalidArgumentException, TToiNotEnoughResourcesException) |
category | The category info for the series. | |
activity | The activity type for the series. | |
start | The start time for the first occurence of the series. Seconds since the Unix epoch. | |
duration | The duration time in seconds for each occurence of the series. | |
weekdays | Weekday mask indicating which days the recurring series shall happen. | |
numberOfOccurrences | The number of occurrences for the series. | |
conflictStrategy | The type of conflict handling strategy to use if a conflict with previously scheduled bookings is detected. |
id | A generated series identifier that will be used in further communication with the client. If the request fails due to conflicts with other bookings this value will be set to ToiSchedulerService::SERIES_ID_NONE. |
TToiInvalidArgumentException | The exception will be thrown if the activity type does not exist or if start or time is in the past. | |
TToiNotEnoughResourcesException | The exception will be thrown if the schedule request fails because requested resources exceeds the amount of resources available on the system. |
void ToiSchedulerService::setCategorySubscription | ( | in ToiEventListener | eventListener, | |
in string | categoryExpression | |||
) | raises (TToiInvalidArgumentException) |
This method is used to filter which categories the application is notified about.
eventListener | ToiEventListener | |
categoryExpression | The category expression of the bookings to be notified about. Wildcard "*" is supported when it is at the beginning or end of a string. And a single "*" match all category. Supported wildcard is like that "*dvr", "dvr*", "*". Otherwise it is treated as an ordinary character. |
void ToiSchedulerService::setParameter | ( | in TToiBookingId | id, | |
in string | name, | |||
in string | value | |||
) | raises (TToiInvalidArgumentException) |
Add user defined parameters to a booking.
id | The booking identifier. | |
name | The name of the parameter to set. If a parameter with the same name already exists, it will be overwritten. | |
value | The value of the parameter to set. |
TToiInvalidArgumentException | Raised if the booking does not exist. |
void ToiSchedulerService::setParametersOnBookings | ( | in TToiBookingIdSequence | ids, | |
in TToiParameterNameSequence | names, | |||
in TToiParameterValueSequence | values | |||
) | raises (TToiInvalidArgumentException) |
Add user defined parameters to a set of bookings.
ids | A sequence of booking identifiers to update with parameters. | |
names | A sequence of parameter names to be set. Existing parameters with matching names will be overwritten. | |
values | A sequence of parameter values to be set, matching the parameter names. |
TToiInvalidArgumentException | Raised if any of the bookings do not exist. |
void ToiSchedulerService::setSeriesParameter | ( | in TToiSeriesId | id, | |
in string | name, | |||
in string | value | |||
) | raises (TToiInvalidArgumentException) |
id | The identifier of the series. | |
name | The name of the parameter to set. If a parameter with the same name already exists, it will be overwritten. | |
value | The value of the parameter to set. |
TToiInvalidArgumentException | Raised if the series does not exist. |
void ToiSchedulerService::unsetParameter | ( | in TToiBookingId | id, | |
in string | name | |||
) | raises (TToiInvalidArgumentException) |
Remove user defined parameters from a booking.
id | The booking identifier. | |
name | The name of the parameter to remove. |
TToiInvalidArgumentException | Raised if the booking does not exist. |
void ToiSchedulerService::unsetSeriesParameter | ( | in TToiSeriesId | id, | |
in string | name | |||
) | raises (TToiInvalidArgumentException) |
id | The identifier of the series. | |
name | The name of the parameter to remove. |
TToiInvalidArgumentException | Raised if the series does not exist. |
When schedule failed, the application may call ToiSchedulerService::getConflicts() with a booking identifier of ToiSchedulerService::BOOKING_ID_NONE to get a list of suggested solutions.
This constant can also be accessed from toi.consts.ToiSchedulerService.BOOKING_ID_NONE.
Scheduling will fail without scheduling any bookings when conflicts are detected.
This constant can also be accessed from toi.consts.ToiSchedulerService.CONFLICT_STRATEGY_FAIL.
Scheduling will procede to book only those bookings that are not in conflict.
This constant can also be accessed from toi.consts.ToiSchedulerService.CONFLICT_STRATEGY_SKIP_BOOKINGS.
const long ToiSchedulerService::ON_BOOKINGS_ADDED = 2203 |
This is an Event identifier for ToiSchedulerBookingsAddedEvent.
This constant can also be accessed from toi.consts.ToiSchedulerService.ON_BOOKINGS_ADDED.
const long ToiSchedulerService::ON_BOOKINGS_CHANGED = 2205 |
This is an Event identifier for ToiSchedulerBookingsChangedEvent.
This constant can also be accessed from toi.consts.ToiSchedulerService.ON_BOOKINGS_CHANGED.
const long ToiSchedulerService::ON_BOOKINGS_REMOVED = 2204 |
This is an Event identifier for ToiSchedulerBookingsRemovedEvent.
This constant can also be accessed from toi.consts.ToiSchedulerService.ON_BOOKINGS_REMOVED.
const long ToiSchedulerService::ON_SCHEDULED_START = 2200 |
This is an Event identifier for ToiSchedulerScheduledStartEvent.
This constant can also be accessed from toi.consts.ToiSchedulerService.ON_SCHEDULED_START.
const long ToiSchedulerService::ON_SCHEDULED_STOP = 2201 |
This is an Event identifier for ToiSchedulerScheduledStopEvent.
This constant can also be accessed from toi.consts.ToiSchedulerService.ON_SCHEDULED_STOP.
const long ToiSchedulerService::ON_SCHEDULED_TRIGGER = 2202 |
This is an Event identifier for ToiSchedulerScheduledTriggerEvent.
This constant can also be accessed from toi.consts.ToiSchedulerService.ON_SCHEDULED_TRIGGER.
const long ToiSchedulerService::ON_SERIES_CHANGED = 2206 |
This is an Event identifier for ToiSchedulerSeriesChangedEvent.
This constant can also be accessed from toi.consts.ToiSchedulerService.ON_SERIES_CHANGED.
Indicates that there is no recurrent booking associated.
This constant can also be accessed from toi.consts.ToiSchedulerService.SERIES_ID_NONE.
There is no solution.
This constant can also be accessed from toi.consts.ToiSchedulerService.SOLUTION_TYPE_NONE.
The solution is to remove conflicts.
This constant can also be accessed from toi.consts.ToiSchedulerService.SOLUTION_TYPE_REMOVE.
const TToiTime ToiSchedulerService::TIME_NOW = -1 |
Indicates that the requested scheduled time is the current time (now).
This constant can also be accessed from toi.consts.ToiSchedulerService.TIME_NOW.
const long ToiSchedulerService::WEEKDAY_ALL_WEEKDAYS = 127 |
Bit mask value for all week days.
This constant can also be accessed from toi.consts.ToiSchedulerService.WEEKDAY_ALL_WEEKDAYS.
const long ToiSchedulerService::WEEKDAY_FRIDAY = 16 |
Bit mask value for Friday.
This constant can also be accessed from toi.consts.ToiSchedulerService.WEEKDAY_FRIDAY.
const long ToiSchedulerService::WEEKDAY_MONDAY = 1 |
Bit mask value for Monday.
This constant can also be accessed from toi.consts.ToiSchedulerService.WEEKDAY_MONDAY.
const long ToiSchedulerService::WEEKDAY_SATURDAY = 32 |
Bit mask value for Saturday.
This constant can also be accessed from toi.consts.ToiSchedulerService.WEEKDAY_SATURDAY.
const long ToiSchedulerService::WEEKDAY_SUNDAY = 64 |
Bit mask value for Sunday.
This constant can also be accessed from toi.consts.ToiSchedulerService.WEEKDAY_SUNDAY.
const long ToiSchedulerService::WEEKDAY_THURSDAY = 8 |
Bit mask value for Thursday.
This constant can also be accessed from toi.consts.ToiSchedulerService.WEEKDAY_THURSDAY.
const long ToiSchedulerService::WEEKDAY_TUESDAY = 2 |
Bit mask value for Tuesday.
This constant can also be accessed from toi.consts.ToiSchedulerService.WEEKDAY_TUESDAY.
const long ToiSchedulerService::WEEKDAY_WEDNESDAY = 4 |
Bit mask value for Wednesday.
This constant can also be accessed from toi.consts.ToiSchedulerService.WEEKDAY_WEDNESDAY.