|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RequestedServiceUnitAvp
<b>8.18. Requested-Service-Unit AVP</b>
The Requested-Service-Unit AVP (AVP Code 437) is of type Grouped and
contains the amount of requested units specified by the Diameter
credit-control client. A server is not required to implement all the
unit types, and it must treat unknown or unsupported unit types as
invalid AVPs.
The Requested-Service-Unit AVP is defined as follows (per the
grouped-avp-def of RFC 3588 [DIAMBASE]):
Requested-Service-Unit ::= < AVP Header: 437 >
[ CC-Time ]
[ CC-Money ]
[ CC-Total-Octets ]
[ CC-Input-Octets ]
[ CC-Output-Octets ]
[ CC-Service-Specific-Units ]
*[ AVP ]
| 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 |
getCreditControlInputOctets()
Returns the value of the CC-Input-Octets AVP, of type Unsigned64. |
CcMoneyAvp |
getCreditControlMoneyAvp()
Returns the value of the CC-Money AVP, of type Grouped. |
long |
getCreditControlOutputOctets()
Returns the value of the CC-Output-Octets AVP, of type Unsigned64. |
long |
getCreditControlServiceSpecificUnits()
Returns the value of the CC-Service-Specific-Units AVP, of type Unsigned64. |
long |
getCreditControlTime()
Returns the value of the CC-Time AVP, of type Unsigned32. |
long |
getCreditControlTotalOctets()
Returns the value of the CC-Total-Octets AVP, of type Unsigned64. |
boolean |
hasCreditControlInputOctets()
Returns true if the CC-Input-Octets AVP is present in the message. |
boolean |
hasCreditControlMoneyAvp()
Returns true if the CC-Money AVP is present in the message. |
boolean |
hasCreditControlOutputOctets()
Returns true if the CC-Output-Octets AVP is present in the message. |
boolean |
hasCreditControlServiceSpecificUnits()
Returns true if the CC-Service-Specific-Units AVP is present in the message. |
boolean |
hasCreditControlTime()
Returns true if the CC-Time AVP is present in the message. |
boolean |
hasCreditControlTotalOctets()
Returns true if the CC-Total-Octets AVP is present in the message. |
void |
setCreditControlInputOctets(long ttc)
Sets the value of the CC-Input-Octets AVP, of type Unsigned64. |
void |
setCreditControlMoneyAvp(CcMoneyAvp ccm)
Sets the value of the CC-Money AVP, of type Grouped. |
void |
setCreditControlOutputOctets(long ccoo)
Sets the value of the CC-Output-Octets AVP, of type Unsigned64. |
void |
setCreditControlServiceSpecificUnits(long ccssu)
Sets the value of the CC-Service-Specific-Units AVP, of type Unsigned64. |
void |
setCreditControlTime(long cct)
Sets the value of the CC-Time AVP, of type Unsigned32. |
void |
setCreditControlTotalOctets(long ccto)
Sets the value of the CC-Total-Octets AVP, of type Unsigned64. |
| 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 |
|---|
void setCreditControlMoneyAvp(CcMoneyAvp ccm)
CcMoneyAvp
ccm - CcMoneyAvp getCreditControlMoneyAvp()
CcMoneyAvp
boolean hasCreditControlMoneyAvp()
void setCreditControlTotalOctets(long ccto)
ccto - long getCreditControlTotalOctets()
boolean hasCreditControlTotalOctets()
void setCreditControlInputOctets(long ttc)
ttc - long getCreditControlInputOctets()
boolean hasCreditControlInputOctets()
void setCreditControlOutputOctets(long ccoo)
ccoo - long getCreditControlOutputOctets()
boolean hasCreditControlOutputOctets()
void setCreditControlTime(long cct)
cct - long getCreditControlTime()
boolean hasCreditControlTime()
void setCreditControlServiceSpecificUnits(long ccssu)
ccssu - long getCreditControlServiceSpecificUnits()
boolean hasCreditControlServiceSpecificUnits()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||