|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface VendorSpecificApplicationIdAvp
Defines an interface representing the Vendor-Specific-Application-Id grouped AVP type. From the Diameter Base Protocol (rfc3588.txt) specification:
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 }
| 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 |
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 message. |
boolean |
hasAuthApplicationId()
Returns true if the Auth-Application-Id AVP is present in the message. |
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 message, of type Unsigned32. |
void |
setVendorIds(long[] vendorIds)
Sets the set of Vendor-Id AVPs, with all the values in the given array. |
| Methods inherited from interface net.java.slee.resource.diameter.base.events.avp.GroupedAvp |
|---|
getExtensionAvps, hasExtensionAvps, 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, stringValue |
| Method Detail |
|---|
long[] getVendorIds()
void setVendorId(long vendorId)
java.lang.IllegalStateException - if setVendorId or setVendorIds
has already been calledvoid setVendorIds(long[] vendorIds)
java.lang.IllegalStateException - if setVendorId or setVendorIds
has already been calledboolean hasAuthApplicationId()
long getAuthApplicationId()
void setAuthApplicationId(long authApplicationId)
java.lang.IllegalStateException - if setAuthApplicationId has already been calledboolean hasAcctApplicationId()
long getAcctApplicationId()
void setAcctApplicationId(long acctApplicationId)
java.lang.IllegalStateException - if setAcctApplicationId has already been called
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||