public interface VendorSpecificApplicationId extends GroupedAvp
6.11. Vendor-Specific-Application-Id AVP The Vendor-Specific-Application-Id AVP (AVP Code 260) is of type Grouped and is used to advertise support of a vendor-specific Diameter Application. Exactly one of the Auth-Application-Id and Acct-Application-Id AVPs MAY be present. This AVP MUST also be present as the first AVP in all experimental commands defined in the vendor-specific application. This AVP SHOULD be placed as close to the Diameter header as possible. AVP Format <Vendor-Specific-Application-Id> ::= < AVP Header: 260 > 1* [ Vendor-Id ] 0*1{ Auth-Application-Id } 0*1{ Acct-Application-Id }
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
Modifier and Type | Method and Description |
---|---|
long |
getAcctApplicationId()
Returns the value of the Acct-Application-Id AVP, of type Unsigned32.
|
long |
getAuthApplicationId()
Returns the value of the Auth-Application-Id AVP, of type Unsigned32.
|
long[] |
getVendorIds()
Returns the set of Vendor-Id AVPs.
|
boolean |
hasAcctApplicationId()
Returns true if the Acct-Application-Id AVP is present in the Vendor-Specific-Application-Id AVP.
|
boolean |
hasAuthApplicationId()
Returns true if the Auth-Application-Id AVP is present in the Vendor-Specific-Application-Id AVP.
|
void |
removeAcctApplicationId()
Removes the Acct-Application-Id AVP from the Vendor-Specific-Application-Id AVP.
|
void |
removeAuthApplicationId()
Removes the Auth-Application-Id AVP from the Vendor-Specific-Application-Id AVP.
|
void |
removeVendorIds()
Removes all Vendor-Id AVPs from the Vendor-Specific-Application-Id AVP.
|
void |
setAcctApplicationId(long acctApplicationId)
Sets the value of the Acct-Application-Id AVP, of type Unsigned32.
|
void |
setAuthApplicationId(long authApplicationId)
Sets the value of the Auth-Application-Id AVP, of type Unsigned32.
|
void |
setVendorId(long vendorId)
Sets a single Vendor-Id AVP in the Vendor-Specific-Application-Id AVP, of type Unsigned32.
|
void |
setVendorIds(long[] vendorIds)
Sets the set of Vendor-Id AVPs, with all the values in the given array.
|
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorID, groupedAvpValue, intValue, longValue, stringValue
long[] getVendorIds()
void setVendorId(long vendorId)
void setVendorIds(long[] vendorIds)
java.lang.NullPointerException
- if vendorIds
is null
.void removeVendorIds()
boolean hasAuthApplicationId()
long getAuthApplicationId()
hasAuthApplicationId()
to check the existence of this AVP.java.lang.IllegalStateException
- if the Auth-Application-Id AVP has not been set.void setAuthApplicationId(long authApplicationId)
void removeAuthApplicationId()
boolean hasAcctApplicationId()
long getAcctApplicationId()
hasAcctApplicationId()
to check the existence of this AVP.java.lang.IllegalStateException
- if the Acct-Application-Id AVP has not been set.void setAcctApplicationId(long acctApplicationId)
void removeAcctApplicationId()