|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServiceParameterInfoAvp
8.43. Service-Parameter-Info AVP
The Service-Parameter-Info AVP (AVP Code 440) is of type Grouped and
contains service-specific information used for price calculation or
rating. The Service-Parameter-Type AVP defines the service parameter
type, and the Service-Parameter-Value AVP contains the parameter
value. The actual contents of these AVPs are not within the scope of
this document and SHOULD be defined in another Diameter application,
in standards written by other standardization bodies, or in service-
specific documentation.
In the case of an unknown service request (e.g., unknown Service-
Parameter-Type), the corresponding answer message MUST contain the
error code DIAMETER_RATING_FAILED. A Credit-Control-Answer message
with this error MUST contain one or more Failed-AVP AVPs containing
the Service-Parameter-Info AVPs that caused the failure.
It is defined as follows (per the grouped-avp-def of RFC 3588
[DIAMBASE]):
Service-Parameter-Info ::= < AVP Header: 440 >
{ Service-Parameter-Type }
{ Service-Parameter-Value }
| Field Summary |
|---|
| Fields inherited from interface net.java.slee.resource.diameter.base.events.avp.DiameterAvp |
|---|
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT |
| Method Summary | |
|---|---|
long |
getServiceParameterType()
Returns the value of the Service-Parameter-Type AVP, of type Unsigned32. |
byte[] |
getServiceParameterValue()
Returns the value of the Service-Parameter-Value AVP, of type OctetString. |
boolean |
hasServiceParameterType()
Returns true if the Service-Parameter-Type AVP is present in the message. |
boolean |
hasServiceParameterValue()
Returns true if the Service-Parameter-Value AVP is present in the message. |
void |
setServiceParameterType(long serviceParameterType)
Sets the value of the Service-Parameter-Type AVP, of type Unsigned32. |
void |
setServiceParameterValue(byte[] serviceParameterValue)
Sets the value of the Service-Parameter-Value AVP, of type OctetString. |
| Methods inherited from interface net.java.slee.resource.diameter.base.events.avp.GroupedAvp |
|---|
getExtensionAvps, setExtensionAvps |
| Methods inherited from interface net.java.slee.resource.diameter.base.events.avp.DiameterAvp |
|---|
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorId, intValue, longValue, octetStringValue, stringValue |
| Method Detail |
|---|
long getServiceParameterType()
byte[] getServiceParameterValue()
boolean hasServiceParameterType()
boolean hasServiceParameterValue()
void setServiceParameterType(long serviceParameterType)
serviceParameterType - void setServiceParameterValue(byte[] serviceParameterValue)
serviceParameterValue -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||