import "saeaccess.idl";
Lets you get information about the session, make service schedules available, add and remove subscriptions, set the session timeout, manage session login, and activate and deactivate services.
NOTE: All methods raise an UnknownUserException if the subscriber session is no longer active.
Public Member Functions | |
ReadResult | read (in Select subscription, in Select service, in StringSeq attributes) raises (SAEException, UnknownUserException, NonUniqueUserException) |
The read() method requests information from a subscriber session. | |
AttrSeq | readSubscriber (in StringSeq attributes) raises (SAEException, UnknownUserException, NonUniqueUserException) |
The readSubscriber() method retrieves specified subscriber attributes from the directory. | |
AttrSeqSeq | readSubscription (in Select selection) raises (SAEException, UnknownUserException, NonUniqueUserException) |
The readSubscription() method retrieves specified subscription data from the directory. | |
AttrSeqSeq | readService (in Select selection) raises (SAEException, UnknownUserException, NonUniqueUserException) |
The readService() method retrieves service data. | |
void | addScheduleEntry (in ScheduleEntryId id, in ScheduledTime schedTime, in ActionExtSeq actions) raises (UnknownUserException, SAEException) |
The addScheduleEntry() method creates a service schedule for activating, deactivating, or denying a service. | |
void | updateScheduleEntry (in ScheduleEntryId id, in ScheduledTime schedTime, in ActionExtSeq actions) raises (UnknownUserException, SAEException) |
The updateScheduleEntry() method updates the scheduled times and actions for a service schedule that has a specified ID. | |
void | deleteScheduleEntry (in ScheduleEntryId id) raises (UnknownUserException, SAEException) |
The deleteScheduleEntry() method deletes a service schedule that has a specified ID. | |
ScheduleEntry | getScheduleEntryById (in ScheduleEntryId id) raises (UnknownUserException, SAEException) |
The getScheduleEntryById() method retrieves a service schedule that has a specified ID. | |
ScheduleEntrySeq | getScheduleEntriesByIds (in ScheduleEntryIdSeq ids) raises (UnknownUserException, SAEException) |
The getScheduleEntriesByIds() method retrieves schedule entries (ScheduleEntry) by their IDs. | |
ScheduleEntryIdSeq | getScheduleEntryIds (in long long startDate, in long long endDate) raises (UnknownUserException, SAEException) |
The getScheduleEntryIds() method retrieves IDs within a specified range for schedule entries (ScheduleEntry). | |
void | addOneTimeScheduleEntry (in long long eventDate, in ActionSeq actions) raises (UnknownUserException, SAEException) |
The addOneTimeScheduleEntry() method adds a service action scheduled for a single time. | |
void | updateOneTimeScheduleEntryActions (in long long eventDate, in ActionSeq actions) raises (UnknownUserException, SAEException) |
The updateOneTimeScheduleEntryActions() method updates a service action scheduled for a single time. | |
void | deleteOneTimeScheduleEntries (in long long startDate, in long long endDate) raises (UnknownUserException, SAEException) |
The deleteOneTimeScheduleEntries() method deletes service actions that are scheduled for a single time and whose scheduling date falls within a specified range. | |
ActionSeq | getOneTimeScheduleEntryActions (in long long eventDate) raises (UnknownUserException, SAEException) |
The getOneTimeScheduleEntryActions() method retrieves a service action scheduled for a single time. | |
LongLongSeq | getOneTimeScheduleEntryEventDates (in long long startDate, in long long endDate) raises (UnknownUserException, SAEException) |
The getOneTimeScheduleEntryEventDates() method retrieves schedule information for a service action that is scheduled for a single time and whose scheduling dates fall within a specified range. | |
WStringSeq | addSubscriptionAttributes (in string subscriptionName, in string userName, in string password, in AttrSeq subscriptionAttributes) raises (UnknownUserException, NonUniqueUserException, UnknownServiceException, ServiceAuthenticationException, SAEException) |
The addSubscriptionAttributes() method adds a subscription to a service to the directory. | |
WStringSeq | addSubscription (in string subscriptionName, in string userName, in string password) raises (UnknownUserException, NonUniqueUserException, UnknownServiceException, ServiceAuthenticationException, SAEException) |
The addSubscription() method adds a subscription to a service to the directory. | |
WStringSeq | deleteSubscription (in string subscriptionName, in string userName, in string password) raises (UnknownUserException, NonUniqueUserException, UnknownServiceException, UnknownSubscriptionException, ServiceAuthenticationException, SAEException) |
The deleteSubscription() method removes a subscription to a service from the directory. | |
void | setSessionTimeout (in unsigned long timeout) raises (UnknownUserException, NonUniqueUserException, SAEException) |
The setSessionTimeout() method specifies the number of seconds after which the subscriber session is automatically deactivated. | |
void | updateSessionTimeout (in unsigned long timeout) raises (UnknownUserException, NonUniqueUserException, SAEException) |
The updateSessionTimeout() method updates the session timeout for the current subscriber. | |
void | updateServiceSessionTimeout (in string subscriptionName, in string sessionName, in unsigned long timeout) raises (UnknownUserException, NonUniqueUserException, UnknownServiceException, UnknownSubscriptionException, SAEException) |
The updateServiceSessionTimeout() method updates the timeout of the service session for the specified session. | |
boolean | login (in string loginName, in string password) raises (LoginException, SAEException) |
The login() method creates a subscriber session. | |
void | logout () raises (UnknownUserException, SAEException) |
The logout() method ends the current subscriber session and starts an unauthenticated subscriber session. | |
void | disconnect () raises (UnknownUserException, NonUniqueUserException, UnsupportedException, SAEException) |
The disconnect() method triggers subscriber being detached from the network. | |
void | grantPublicIp (in string loginName, in string password) raises (UnknownUserException, ServiceAuthenticationException, SAEException) |
The grantPublicIp() method switches the IP address of a subscriber using DHCP from an unauthenticated IP address to an authenticated IP address. | |
void | grantPublicIpAttr (in string loginName, in string password, in DhcpAttributes attr) raises (UnknownUserException, ServiceAuthenticationException, SAEException) |
The grantPublicIpAttr() method switches the IP address of a subscriber using DHCP from an unauthenticated IP address to an authenticated IP address. | |
void | revokePublicIp () raises (UnknownUserException, SAEException) |
The revokePublicIp() method switches the IP address of subscriber using a DHCP connection from an authenticated IP address to an unauthenticated IP address. | |
void | activateService (in string subscriptionName, in string sessionName, in AttrSeq activationAttributes) raises (UnknownUserException, NonUniqueUserException, UnknownServiceException, UnknownSubscriptionException, ServiceAuthenticationException, OverloadException, SAEException) |
The activateService() method activates a service session. | |
string | activateServiceSession (in string subscriptionName, in string sessionName, in AttrSeq activationAttributes) raises (UnknownUserException, NonUniqueUserException, UnknownServiceException, UnknownSubscriptionException, ServiceAuthenticationException, OverloadException, SAEException) |
The activateServiceSession() method activates a service session and returns its correspondent accounting session ID. | |
void | activateServiceBackground (in string subscriptionName, in string sessionName, in AttrSeq activationAttributes) raises (UnknownUserException, NonUniqueUserException, UnknownServiceException, UnknownSubscriptionException, ServiceAuthenticationException, OverloadException, SAEException) |
The activateServiceBackground() method activates a service session and, if service activation fails due to a short-lived problem, schedules that activation be attempted again in the background. | |
void | modifyServiceSession (in string subscriptionName, in string sessionName, in AttrSeq activationAttributes) raises (UnknownUserException, NonUniqueUserException, UnknownServiceException, UnknownSubscriptionException, UnknownServiceSessionException, ServiceAuthenticationException, OverloadException, SAEException) |
The modifyServiceSession() method modifies an active service session. | |
void | deactivateService (in string subscriptionName, in string sessionName) raises (UnknownUserException, NonUniqueUserException, UnknownServiceException, UnknownSubscriptionException, ServiceAuthenticationException, SAEException) |
The deactivateService() method deactivates a service session for a subscription. | |
void | deactivateServiceBackground (in string subscriptionName, in string sessionName) raises (UnknownUserException, NonUniqueUserException, UnknownServiceException, UnknownSubscriptionException, ServiceAuthenticationException, SAEException) |
The deactivateServiceBackground() method deactivates a service session and, if deactivation fails due to a short-lived problem, schedules that deactivation be attempted again in the background. | |
void | deactivateServiceReason (in string subscriptionName, in string sessionName, in long reason) raises (UnknownUserException, NonUniqueUserException, UnknownServiceException, UnknownSubscriptionException, ServiceAuthenticationException, SAEException) |
The deactivateServiceReason() method deactivates a service session for a subscription and provides a reason for the deactivation. | |
void | deactivateServiceBackgroundReason (in string subscriptionName, in string sessionName, in long reason) raises (UnknownUserException, NonUniqueUserException, UnknownServiceException, UnknownSubscriptionException, ServiceAuthenticationException, SAEException) |
The deactivateServiceBackgroundReason() method deactivates a service session and if deactivation fails due to a short-lived problem, schedules that deactivation be attempted again in the background. | |
void | fragmentDown (in string aggregateSubscriptionName, in string aggregateSessionName, in string fragmentSessionId) raises (UnknownUserException, NonUniqueUserException, UnknownServiceException, UnknownSubscriptionException, UnknownServiceSessionException, SAEException) |
NOTE: The fragmentDown() method is only for internal use. | |
void | fragmentReactivating (in string aggregateSubscriptionName, in string aggregateSessionName, in string fragmentSessionId) raises (UnknownUserException, NonUniqueUserException, UnknownServiceException, UnknownSubscriptionException, UnknownServiceSessionException, SAEException) |
NOTE: The fragmentReactivating() method is only for internal use. | |
void | setActivationTrigger (in string subscriptionName, in string activationTrigger) raises (UnknownUserException, NonUniqueUserException, UnknownServiceException, UnknownSubscriptionException, ServiceAuthenticationException, SAEException) |
The setActivationTrigger() method changes how a subscription for a service becomes active. | |
void | setPersistentSession (in string subscriptionName, in string sessionName, in AttrSeq persistentSessionAttributes) raises (UnknownUserException, NonUniqueUserException, UnknownServiceException, SAEException) |
The setPersistentSession() method identifies a service subscription that is to start automatically at subscriber login (which creates a service session). | |
void | deletePersistentSession (in string subscriptionName, in string sessionName) raises (UnknownUserException, NonUniqueUserException, UnknownServiceException, SAEException) |
The deletePersistentSession() method deletes a service subscription that automatically starts at subscriber login. | |
void | modifyPersistentSession (in string subscriptionName, in string sessionName, in boolean active) raises (UnknownUserException, NonUniqueUserException, UnknownServiceException, SAEException) |
The modifyPersistentSession() method modifies a service subscription that automatically starts at subscriber login. | |
void | setInterimTime (in string subscriptionName, in string sessionName, in unsigned long time) raises (UnknownUserException, NonUniqueUserException, UnknownServiceException, SAEException) |
The setInterimTime() method sets the interval of the interim update for a service session. | |
void | setSessionVolumeQuota (in string subscriptionName, in string sessionName, in string sessionVolumeQuota) raises (UnknownUserException, NonUniqueUserException, UnknownServiceException, SAEException) |
The setSessionVolumeQuota() method sets the volume quota for the session. | |
AttrSeqSeq | getUsage (in Select selection) raises (SAEException, UnknownUserException, NonUniqueUserException, OverloadException) |
The getUsage() method retrieves usage information for selected service sessions. |
|
The activateService() method activates a service session. To authorize the activation, the SAE sends a plug-in event to all authorization plug-ins that are configured for the service to be activated. A start message informs tracking plug-ins of the service activation.
|
|
The activateServiceBackground() method activates a service session and, if service activation fails due to a short-lived problem, schedules that activation be attempted again in the background.
|
|
The activateServiceSession() method activates a service session and returns its correspondent accounting session ID. To authorize the activation, the SAE sends a plug-in event to all authorization plug-ins that are configured for the service to be activated. A start message informs tracking plug-ins of the service activation.
|
|
The addOneTimeScheduleEntry() method adds a service action scheduled for a single time.
|
|
The addScheduleEntry() method creates a service schedule for activating, deactivating, or denying a service.
|
|
The addSubscription() method adds a subscription to a service to the directory.
|
|
The addSubscriptionAttributes() method adds a subscription to a service to the directory.
|
|
The deactivateService() method deactivates a service session for a subscription.
|
|
The deactivateServiceBackground() method deactivates a service session and, if deactivation fails due to a short-lived problem, schedules that deactivation be attempted again in the background.
|
|
The deactivateServiceBackgroundReason() method deactivates a service session and if deactivation fails due to a short-lived problem, schedules that deactivation be attempted again in the background. The method also provides a reason for the deactivation.
|
|
The deactivateServiceReason() method deactivates a service session for a subscription and provides a reason for the deactivation.
|
|
The deleteOneTimeScheduleEntries() method deletes service actions that are scheduled for a single time and whose scheduling date falls within a specified range.
|
|
The deletePersistentSession() method deletes a service subscription that automatically starts at subscriber login. As a result, the subscriber session for the service is not automatically activated at the next subscriber login.
|
|
The deleteScheduleEntry() method deletes a service schedule that has a specified ID.
|
|
The deleteSubscription() method removes a subscription to a service from the directory.
|
|
The disconnect() method triggers subscriber being detached from the network.
|
|
NOTE: The fragmentDown() method is only for internal use.
|
|
NOTE: The fragmentReactivating() method is only for internal use.
|
|
The getOneTimeScheduleEntryActions() method retrieves a service action scheduled for a single time.
|
|
The getOneTimeScheduleEntryEventDates() method retrieves schedule information for a service action that is scheduled for a single time and whose scheduling dates fall within a specified range.
|
|
The getScheduleEntriesByIds() method retrieves schedule entries (ScheduleEntry) by their IDs. An ID for a ScheduleEntry is the primary key for the specified subscriber.
|
|
The getScheduleEntryById() method retrieves a service schedule that has a specified ID. An ID for the ScheduleEntry is the primary key for a specified subscriber.
|
|
The getScheduleEntryIds() method retrieves IDs within a specified range for schedule entries (ScheduleEntry).
|
|
The getUsage() method retrieves usage information for selected service sessions. Usage information can include the length of time that a service has been active and the traffic statistics for a subscriber session. This method lets you develop applications that can dynamically retrieve usage information for active service sessions. You can use the Subscriber.readSubscription() method to retrieve the most recent usage information that has been collected. You can also collect usage information by using interim accounting. NOTE: In response to this method, the SAE reads the current usage data from the router. Because this method causes direct interaction with the router, numerous calls can overload the router and cause service degradation.
|
|
The grantPublicIp() method switches the IP address of a subscriber using DHCP from an unauthenticated IP address to an authenticated IP address. When the operation succeeds, the subscriber object that was in place before the operation becomes invalid, that is the client application of the CORBA remote API can no longer call any methods on this object. The client application must call the getSubscriber() method to request a new subscriber object.
|
|
The grantPublicIpAttr() method switches the IP address of a subscriber using DHCP from an unauthenticated IP address to an authenticated IP address. This method requires DHCP attributes in addition to the options required by the grantPublicIp() method. NOTE: If the operation is successful, the current subscriber object becomes invalid.
|
|
The login() method creates a subscriber session. When the operation succeeds, the subscriber object that was in place before the operation becomes invalid, that is the client application of the CORBA remote API can no longer call any methods on this object. The client application must call the getSubscriber() method to request a new subscriber object.
|
|
The logout() method ends the current subscriber session and starts an unauthenticated subscriber session. When the operation succeeds, the subscriber object that was in place before the operation becomes invalid, that is the client application of the CORBA remote API can no longer call any methods on this object. The client application must call the getSubscriber() method to request a new subscriber object.
|
|
The modifyPersistentSession() method modifies a service subscription that automatically starts at subscriber login.
|
|
The modifyServiceSession() method modifies an active service session. To authorize the modification, the SAE sends a plug-in event to all authorization plug-ins that are configured for the service to be modified. For example, an increase in bandwidth could require authorization by an Admission Control Plug-In application. An interim update message informs tracking plug-ins of modifications.
|
|
The read() method requests information from a subscriber session. The information collected by this method depends on the attributes you specify for a subscription, for the service associated with the subscription, and for the subscriber who subscribes to those services. The attributes you provide are Bean properties of classes in the SAE core API. For information about these properties, see the online documentation for the SAE core API on the SDX software CD at the following location: /SDK/doc/sae/index.html.
|
|
The readService() method retrieves service data. The current subscriber object does not have to be subscribed to the services for this method to retrieve data.
|
|
The readSubscriber() method retrieves specified subscriber attributes from the directory.
|
|
The readSubscription() method retrieves specified subscription data from the directory.
|
|
The revokePublicIp() method switches the IP address of subscriber using a DHCP connection from an authenticated IP address to an unauthenticated IP address. NOTE: If the operation is successful, the current subscriber object becomes invalid.
|
|
The setActivationTrigger() method changes how a subscription for a service becomes active. You can set activation to one of the following:
|
|
The setInterimTime() method sets the interval of the interim update for a service session.
|
|
The setPersistentSession() method identifies a service subscription that is to start automatically at subscriber login (which creates a service session).
|
|
The setSessionTimeout() method specifies the number of seconds after which the subscriber session is automatically deactivated. The session timeout identifies the maximum length of the session. The time interval starts at the beginning of a session.
|
|
The setSessionVolumeQuota() method sets the volume quota for the session.
|
|
The updateOneTimeScheduleEntryActions() method updates a service action scheduled for a single time.
|
|
The updateScheduleEntry() method updates the scheduled times and actions for a service schedule that has a specified ID.
|
|
The updateServiceSessionTimeout() method updates the timeout of the service session for the specified session. The session timeout count begins at the current time, not from the time the session started. If the session timeout is inactive, it is activated. If the value for timeout is equal to -1, the session timeout is canceled.
|
|
The updateSessionTimeout() method updates the session timeout for the current subscriber. The session timeout count begins at the current time, not from the time of the session started. If the subscriber session timeout is inactive, it is activated. If the value for timeout is equal to -1, the session timeout is canceled.
|