|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IpQoSTemplateConnection
This interface provides access to a specific QoS template, such as Gold, offered by the provider. This interface provides get methods to discover the QoS service details, and set methods to set the requested values for a new VPrP. The template specifies the QoS parameters and their default values. Each service template parameter is tagged by the service provider to indicate one of the following: -∑ Provider specified: the value cannot be modified for this template. -∑ Enterprise operator specified: operator may change the default value set by the provider. The default value can be blank to indicate that there is no default value for this parameter, and the user can change it according to advice typically given by the description parameters. -∑ Unspecified: the parameter is not used for this template, and the Enterprise operator cannot change it. For example, maximum delay for a Gold template may be provider specified, while maximum bandwidth may be Enterprise operator specified, meaning that its values can be changed by the setProvisionedQoSInfo, or by setPipeQoSInfo methods. Guidance how to change the default values may be provided by the template description parameter. The tag of a parameter cannot be changed by any set method of this interface, i.e., if a parameter is tagged unspecified, or provider specified, Enterprise operator cannot override the value of this tag to say operator specified. This template is a temporary interface created as a copy of the original template that stores all the template parameters. The temporary interface is created with the getTemplate method of IpQoSMenu interface. The values passed to this template interface by the set methods replace (if permitted by the tags) the default values stored in this template interface, i.e., a get following a set method to this template interface will fetch the new values set by the Enterprise operator. Once a new VPrP is created by the create method in IpVPrN, the temporary interface might not be accessible anymore.
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
This method is used to get a description of the QoS service stored in this template interface. |
TpDsCodepoint |
getDsCodepoint()
This method is used to get the DiffServ Codepoint of QoS service offered by the template. |
TpPipeQoSInfo |
getPipeQoSInfo()
This method is used to get pipe QoS information consisting of load parameters, direction of the traffic, and the endpoint (SAP or site) of a virtual provisioned pipe offered by this template. |
TpProvisionedQoSInfo |
getProvisionedQoSInfo()
This method is used to get the default values associated with this template (e.g., delay default value, loss default value). |
java.lang.String |
getTemplateType()
This method is used to get the template type, e.g., Gold. |
TpValidityInfo |
getValidityInfo()
The operator uses this method to get the default time period set by the provider for the template. |
void |
setPipeQoSInfo(TpPipeQoSInfo pipeQoSInfo)
This method is used to request pipe QoS parameters consisting of load parameters, direction of the traffic, and the endpoint (SAP or site) of the virtual provisioned pipe, as selected by the operator from the set of values offered by the provider. |
void |
setProvisionedQoSInfo(TpProvisionedQoSInfo provisionedQoSInfo)
The Enterprise operator uses this method to set the requested values for the QoS parameters. |
void |
setSlaID(java.lang.String slaID)
This method is used to store an existing service level agreement (SLA) identifier associated it with a specific VPrP. |
void |
setValidityInfo(TpValidityInfo validityInfo)
The operator uses this method to set the required time period for a new VPrP. |
| Methods inherited from interface org.mobicents.csapi.jr.slee.IpServiceConnection |
|---|
closeConnection |
| Method Detail |
|---|
java.lang.String getTemplateType()
throws TpCommonExceptions,
P_UNKNOWN_TEMPLATE_TYPE,
javax.slee.resource.ResourceException
TpCommonExceptions
P_UNKNOWN_TEMPLATE_TYPE
javax.slee.resource.ResourceException
java.lang.String getDescription()
throws TpCommonExceptions,
P_UNKNOWN_DESCRIPTION,
javax.slee.resource.ResourceException
TpCommonExceptions
P_UNKNOWN_DESCRIPTION
javax.slee.resource.ResourceException
void setSlaID(java.lang.String slaID)
throws TpCommonExceptions,
P_ILLEGAL_SLA_ID,
javax.slee.resource.ResourceException
slaID - This parameter contains the SLA ID. If the string representation of the SLA ID does not obey the rules for SLA identification, then a P_ILLEGAL_SLA_ID exception is raised.
TpCommonExceptions
P_ILLEGAL_SLA_ID
javax.slee.resource.ResourceException
TpPipeQoSInfo getPipeQoSInfo()
throws TpCommonExceptions,
P_UNKNOWN_PIPEQOSINFO,
javax.slee.resource.ResourceException
TpCommonExceptions
P_UNKNOWN_PIPEQOSINFO
javax.slee.resource.ResourceException
void setPipeQoSInfo(TpPipeQoSInfo pipeQoSInfo)
throws TpCommonExceptions,
P_ILLEGAL_TAG,
P_ILLEGAL_VALUE,
P_ILLEGAL_COMBINATION,
javax.slee.resource.ResourceException
pipeQoSInfo - This parameter includes the virtual provisioned pipe information regarding the flow direction, the load on the endpoint of the pipe, and the load on the endpoints. - If a parameter is tagged with providerSpecified, or unspecified, then the P_ILLEGAL_TAG exception is raised. - If a value requested for a specific parameter by this method is not consistent with the advice given by the provider for choosing parameter values, the P_ILLEGAL_VALUE is raised. This is an optional exception that would be applied if the provider can verify consistency on the fly. Otherwise, the new VPrP request will be denied by setting its status flag to disallowed. - If a combination of requested parameters is illegal, then P_ILLEGAL_COMBINATION is raised.
TpCommonExceptions
P_ILLEGAL_TAG
P_ILLEGAL_VALUE
P_ILLEGAL_COMBINATION
javax.slee.resource.ResourceException
TpValidityInfo getValidityInfo()
throws TpCommonExceptions,
P_UNKNOWN_VALIDITY_INFO,
javax.slee.resource.ResourceException
TpCommonExceptions
P_UNKNOWN_VALIDITY_INFO
javax.slee.resource.ResourceException
void setValidityInfo(TpValidityInfo validityInfo)
throws TpCommonExceptions,
P_ILLEGAL_TAG,
P_ILLEGAL_VALUE,
P_ILLEGAL_COMBINATION,
javax.slee.resource.ResourceException
validityInfo - This parameter provides the requested validity information for a new VPrP. - If a parameter is tagged with providerSpecified, or unspecified, then the P_ILLEGAL_TAG exception is raised. - If a value requested for a specific parameter by this method is not consistent with the advice given by the provider for choosing parameter values, the P_ILLEGAL_VALUE is raised. This is an optional exception that would be applied if the provider can verify consistency on the fly. Otherwise, the new VPrP request will be denied by setting its status flag to disallowed. - If a combination of requested parameters is illegal, then P_ILLEGAL_COMBINATION is raised. . For example, if the specified time duration is longer than 24 hours for a time-of-day parameter, or the integer value representing day-of-week or month-of-year is outside the permitted range.
TpCommonExceptions
P_ILLEGAL_TAG
P_ILLEGAL_VALUE
P_ILLEGAL_COMBINATION
javax.slee.resource.ResourceException
void setProvisionedQoSInfo(TpProvisionedQoSInfo provisionedQoSInfo)
throws TpCommonExceptions,
P_ILLEGAL_TAG,
P_ILLEGAL_VALUE,
P_ILLEGAL_COMBINATION,
javax.slee.resource.ResourceException
provisionedQoSInfo - This parameter consists of delay, loss, jitter, and exceed load action parameters.
∑ If a parameter from the delayParameters, lossParameters, jitterParameters, or excessLoadAction is tagged in the template with the values provider specified, or unspecified, then the P_ILLEGAL_TAG exception is raised.
∑ If a value requested for a specific parameter by this method is not consistent with the advice given by the provider for choosing parameter values, the P_ILLEGAL_VALUE is raised. This is an optional exception that would be applied if the provider can verify consistency on the fly. Otherwise, the new VPrP request will be denied by setting its status flag to disallowed.
∑ If a combination of requested parameters or parameter values is illegal, then P_ILLEGAL_COMBINATION is raised. An example of a illegal combination is maximum delay parameter and delay priority, as only one of the two can be used.
TpCommonExceptions
P_ILLEGAL_TAG
P_ILLEGAL_VALUE
P_ILLEGAL_COMBINATION
javax.slee.resource.ResourceException
TpProvisionedQoSInfo getProvisionedQoSInfo()
throws TpCommonExceptions,
P_UNKNOWN_QOS_INFO,
javax.slee.resource.ResourceException
TpCommonExceptions
P_UNKNOWN_QOS_INFO
javax.slee.resource.ResourceException
TpDsCodepoint getDsCodepoint()
throws TpCommonExceptions,
P_UNKNOWN_DSCODEPOINT,
javax.slee.resource.ResourceException
TpCommonExceptions
P_UNKNOWN_DSCODEPOINT
javax.slee.resource.ResourceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||