-- IDL module extracted from ITU-T Q.834.4 (07/2003)
#ifndef __Q834_4_SCHEDULERMGR_DEFINED
#define __Q834_4_SCHEDULERMGR_DEFINED
#include Q834Common.idl
#pragma prefix itu.Int
module q834_4 {
module SchedulerManagement {
Begin definitions from other idl files
From Q834Common
typedef Q834CommonUserLabelType UserLabelType;
typedef Q834CommonGeneralizedTimeType GeneralizedTimeType;
typedef Q834CommonAdministrativeStateType AdministrativeStateType;
typedef Q834CommonOperationalStateType OperationalStateType;
#define AccessDenied Q834CommonAccessDenied
#define DuplicateUserLabel Q834CommonDuplicateUserLabel
#define UnknownScheduler Q834CommonUnknownScheduler
#define InvalidStartTime Q834CommonInvalidStartTime
#define InvalidStopTime Q834CommonInvalidStopTime
End definitions from other idl files
Local data types
enum HourlyDailyWeeklyMonthlyIndType {
Hourly,
Daily,
Weekly,
Monthly
};
enum DayofWeekType {
Sunday,
Monday,
Tuesday,
Wednesday,
Thursday,
Friday,
Saturday,
Unspecified
};
typedef short DayOfMonthType; 0 is interpreted to mean unspecified.
struct TriggerTimeType
{
long time; trigger time in number of seconds
DayofWeekType dayOfWeek;
DayOfMonthType dayofMonth;
};
typedef sequenceTriggerTimeType TriggerTimeMatrixSeqType;
struct SchedulerType
{
UserLabelType schedulerName;
GeneralizedTimeType startTime; schedule start time
GeneralizedTimeType stopTime; schedule stop time
HourlyDailyWeeklyMonthlyIndType hourlyDailyWeeklyMonthlyInd;
TriggerTimeMatrixSeqType matrix;
OperationalStateType operationalState;
AdministrativeStateType administrativeState;
};
typedef sequenceSchedulerType SchedulerSeqType;
Local exceptions
exception MatrixSchedulerTypeMismatch {};
exception InvalidTrigger {};
exception ScheduleInUse {};
End local definitions
valuetype SchedulerMgrValueType itut_x780ManagedObjectValueType {
public SchedulerSeqType schedulerList; GET
};
interface SchedulerMgr itut_x780ManagedObject {
See 9.12.1.1 for the description of the behaviour of this operation
void makeScheduler (
in UserLabelType schedulerName,
in GeneralizedTimeType startTime,
in GeneralizedTimeType stopTime,
in HourlyDailyWeeklyMonthlyIndType hourlyDailyWeeklyMonthlyInd,
in TriggerTimeMatrixSeqType matrix)
raises (InvalidStartTime,
InvalidStopTime,
DuplicateUserLabel,
MatrixSchedulerTypeMismatch,
AccessDenied,
InvalidTrigger );
See 9.12.1.2 for the description of the behaviour of this operation
void suspendScheduler (
in UserLabelType schedulerName)
raises (UnknownScheduler,
AccessDenied );
See 9.12.1.3 for the description of the behaviour of this operation
void resumeScheduler (in UserLabelType schedulerName) raises (UnknownScheduler, AccessDenied );
See 9.12.1.4 for the description of the behaviour of this operation
void modifyTime (
in UserLabelType schedulerName,
in GeneralizedTimeType newStartTime,
in GeneralizedTimeType newStopTime)
raises (InvalidStartTime,
InvalidStopTime,
UnknownScheduler,
AccessDenied );
See 9.12.1.5 for the description of the behaviour of this operation
void changeSchedulerName (
in UserLabelType oldSchedulerName,
in UserLabelType newSchedulerName)
raises (UnknownScheduler,
DuplicateUserLabel,
AccessDenied );
See 9.12.1.6 for the description of the behaviour of this operation
void modifyTriggerTimes (
in UserLabelType schedulerName,
in HourlyDailyWeeklyMonthlyIndType newHourlyDailyWeeklyMonthly,
in TriggerTimeMatrixSeqType newMatrix)
raises (UnknownScheduler,
MatrixSchedulerTypeMismatch,
AccessDenied,
InvalidTrigger );
See 9.12.1.7 for the description of the behaviour of this operation
void removeScheduler (
in UserLabelType schedulerName)
raises (UnknownScheduler,
AccessDenied,
ScheduleInUse );
See 9.12.1.8 for the description of the behaviour of this operation
SchedulerType retrieveScheduler (in UserLabelType schedulerName)
raises (UnknownScheduler,
AccessDenied) ;
See 9.12.1.9 for the description of the behaviour of this operation
SchedulerSeqType schedulerListGet () raises (AccessDenied);
}; interface SchedulerMgr
}; module SchedulerManagement
}; module q834_4
#endif