net.java.slee.resource.diameter.base.events.avp
Interface GroupedAvp
- All Superinterfaces:
- java.lang.Cloneable, DiameterAvp
- All Known Subinterfaces:
- ExperimentalResultAvp, ExtensionGroupedAvp, FailedAvp, ProxyInfoAvp, VendorSpecificApplicationIdAvp
- All Known Implementing Classes:
- ExperimentalResultAvpImpl, FailedAvpImpl, GroupedAvpImpl, ProxyInfoAvpImpl, VendorSpecificApplicationIdAvpImpl
public interface GroupedAvp
- extends DiameterAvp
A GroupedAvp represents a Diameter Grouped AVP type.
This is the superinterface for the RA defined Grouped AVP types.
An array of the AVPs contained in the class can be accessed using
org.mobicents.slee.resource.diameter.base.DiameterAvp#groupedAvpValue().
| 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, stringValue |
setExtensionAvps
void setExtensionAvps(DiameterAvp[] extensions)
throws AvpNotAllowedException
- Sets the set of extension AVPs with all the values in the given array.
The AVPs will be added to message in the order in which they appear in
the array. Note: the array must not be altered by the caller following
this call, and getExtensionAvps() is not guaranteed to return the same
array instance, e.g. an "==" check would fail.
- Parameters:
extensions -
- Throws:
AvpNotAllowedException
getExtensionAvps
DiameterAvp[] getExtensionAvps()
- Returns the set of extension AVPs. The returned array contains the
extension AVPs in the order they appear in the message. A return value of
null implies that no extensions AVPs have been set.
- Returns:
hasExtensionAvps
boolean hasExtensionAvps()
Copyright © 2008. All Rights Reserved.