com.ibm.diameter.packet
Class VsAvpDefinition
java.lang.Object
com.ibm.diameter.packet.AvpDefinition
com.ibm.diameter.packet.VsAvpDefinition
public class VsAvpDefinition
- extends AvpDefinition
The VsAvpDefinition
contains information about a vendor specific AVP, including the name
of the attribute, the IANA defined AVP code associated with the attribute and the AVP Data
Format associated with the attribute. It also contains an AvpValueUtil
class
that contains the value of this attribute and that knows how to read and write this data type.
And it contains an AvpValidatorUtil
class that knows how to validate this data type.
It also contains the vendor id.
Fields inherited from class com.ibm.diameter.packet.AvpDefinition |
AVP_TYPE_ADDRESS, AVP_TYPE_DIAM_IDENT, AVP_TYPE_DIAM_URI, AVP_TYPE_ENUMERATED, AVP_TYPE_GROUPED, AVP_TYPE_INTEGER32, AVP_TYPE_INTEGER64, AVP_TYPE_IP_FILTER_RULE, AVP_TYPE_OCTET_STRING, AVP_TYPE_QOS_FILTER_RULE, AVP_TYPE_TIME, AVP_TYPE_UNSIGNED32, AVP_TYPE_UNSIGNED64, AVP_TYPE_UTF8_STRING |
Constructor Summary |
VsAvpDefinition(int avpCode,
java.lang.String avpName,
int avpType,
AvpValueUtil avpValueUtil,
AvpValidatorUtil avpValidatorUtil,
AvpABNF avpABNF,
int avpVendorId,
boolean vBit,
boolean mBit,
boolean pBit)
Creates an AVP definition that explains the format of the AVP. |
VsAvpDefinition(int avpCode,
java.lang.String avpName,
int avpType,
AvpValueUtil avpValueUtil,
AvpValidatorUtil avpValidatorUtil,
int avpVendorId,
boolean vBit,
boolean mBit,
boolean pBit)
Creates an AVP definition that explains the format of the AVP. |
Methods inherited from class com.ibm.diameter.packet.AvpDefinition |
getAvpABNF, getAvpCode, getAvpName, getAvpType, getAvpValidatorUtil, getAvpValueUtil, isMandatoryFlag, isPBit, isVBit, setAvpValidatorUtil, setMandatoryFlag, setPBit, setVBit |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VsAvpDefinition
public VsAvpDefinition(int avpCode,
java.lang.String avpName,
int avpType,
AvpValueUtil avpValueUtil,
AvpValidatorUtil avpValidatorUtil,
int avpVendorId,
boolean vBit,
boolean mBit,
boolean pBit)
- Creates an AVP definition that explains the format of the AVP.
- Parameters:
avpCode
- The IANA defined code for this Diameter Attribute.avpName
- The Attribute NameavpType
- The AVP Data FormatavpValueUtil
- The utility class that knows how to read and write an attribute of this data formatavpValidatorUtil
- The utility class that knows how to validate an attribute of this data formatavpVendorId
- The vendor idvBit
- boolean representing the value of the Vendor Specific BitmBit
- boolean representing the value of the Mandatory flag.pBit
- boolean representing the obsolete security bit. This should always be zero.
VsAvpDefinition
public VsAvpDefinition(int avpCode,
java.lang.String avpName,
int avpType,
AvpValueUtil avpValueUtil,
AvpValidatorUtil avpValidatorUtil,
AvpABNF avpABNF,
int avpVendorId,
boolean vBit,
boolean mBit,
boolean pBit)
- Creates an AVP definition that explains the format of the AVP.
- Parameters:
avpCode
- The IANA defined code for this Diameter Attribute.avpName
- The Attribute NameavpType
- The AVP Data FormatavpValueUtil
- The utility class that knows how to read and write an attribute of this data formatavpValidatorUtil
- The utility class that knows how to validate an attribute of this data formatavpABNF
- The ABNF of a grouped AVP that defines the rules of occurence of the group's AVPs.avpVendorId
- The vendor idvBit
- boolean representing the value of the Vendor Specific BitmBit
- boolean representing the value of the Mandatory flag.pBit
- boolean representing the obsolete security bit. This should always be zero.
getAvpVendorId
public int getAvpVendorId()
- Returns the avp vendor id
- Returns:
- Returns the avp vendor id.
Copyright © 2006 IBM Corp. All Rights Reserved.