public interface UserEquipmentInfo extends GroupedAvp
8.49. User-Equipment-Info AVP The User-Equipment-Info AVP (AVP Code 458) is of type Grouped and allows the credit-control client to indicate the identity and capability of the terminal the subscriber is using for the connection to network. It is defined as follows (per the grouped-avp-def of RFC 3588 [DIAMBASE]): User-Equipment-Info ::= < AVP Header: 458 > { User-Equipment-Info-Type } { User-Equipment-Info-Value }Note:
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
Modifier and Type | Method and Description |
---|---|
DiameterAvp[] |
getExtensionAvps()
Returns the set of extension AVPs.
|
UserEquipmentInfoType |
getUserEquipmentInfoType()
Returns the value of the User-Equipment-Info-Type AVP, of type Enumerated.
|
byte[] |
getUserEquipmentInfoValue()
Returns the value of the User-Equipment-Info-Value AVP, of type OctetString.
|
boolean |
hasUserEquipmentInfoType()
Returns true if the User-Equipment-Info-Type AVP is present in the User-Equipment-Info AVP.
|
boolean |
hasUserEquipmentInfoValue()
Returns true if the User-Equipment-Info-Value AVP is present in the User-Equipment-Info AVP.
|
void |
removeExtensionAvps()
Removes all extension AVPs from the User-Equipment-Info AVP.
|
void |
removeUserEquipmentInfoType()
Removes the User-Equipment-Info-Type AVP from the User-Equipment-Info AVP.
|
void |
removeUserEquipmentInfoValue()
Removes the User-Equipment-Info-Value AVP from the User-Equipment-Info AVP.
|
void |
setExtensionAvps(DiameterAvp[] avps)
Sets the set of extension AVPs with all the values in the given array.
|
void |
setUserEquipmentInfoType(UserEquipmentInfoType userEquipmentInfoType)
Sets the value of the User-Equipment-Info-Type AVP, of type Enumerated.
|
void |
setUserEquipmentInfoValue(byte[] userEquipmentInfoValue)
Sets the value of the User-Equipment-Info-Value AVP, of type OctetString.
|
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorID, groupedAvpValue, intValue, longValue, stringValue
boolean hasUserEquipmentInfoType()
UserEquipmentInfoType getUserEquipmentInfoType()
void setUserEquipmentInfoType(UserEquipmentInfoType userEquipmentInfoType)
java.lang.NullPointerException
- if userEquipmentInfoType
is null
.void removeUserEquipmentInfoType()
boolean hasUserEquipmentInfoValue()
byte[] getUserEquipmentInfoValue()
void setUserEquipmentInfoValue(byte[] userEquipmentInfoValue)
java.lang.NullPointerException
- if userEquipmentInfoValue
is null
.void removeUserEquipmentInfoValue()
DiameterAvp[] getExtensionAvps()
void setExtensionAvps(DiameterAvp[] avps) throws AvpNotAllowedException
AvpNotAllowedException
- if an AVP is encountered of a type already known to this class
(i.e. an AVP for which get/set methods already appear in this class)java.lang.NullPointerException
- if avps
is null
.void removeExtensionAvps()