|
Oracle Communications Converged Application Server Java API Reference 5.1 E36938-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.bea.wcp.diameter.Attribute
public final class Attribute
Diameter attribute information.
Constructor Summary | |
---|---|
Attribute(int code, int vendorId, int flags) Creates a new "anonymous" Attribute decoded from a Diameter message. |
Method Summary | |
---|---|
XmlBuffer |
appendXml(XmlBuffer xb) |
static Attribute |
define(int code, String name) Defines a new Diameter base protocol attribute with default flags (FLAGS_MANDATORY) and data type of "Integer32". |
static Attribute |
define(int code, String name, int vendorId, int flags, Type type) Defines a new Diameter attribute. |
static Attribute |
define(int code, String name, int vendorId, Type type) Defines a new Diameter attribute with default flags (FLAG_MANDATORY). |
static Attribute |
define(int code, String name, Type type) Defines a new Diameter base protocol attribute with default flags (FLAG_MANDATORY). |
boolean |
equals(Object obj) Compares this Attribute to another for equality. |
static Attribute |
getByCode(int code) Returns the base protocol Attribute for the specified attribute code. |
static Attribute |
getByCode(int code, int vendorId) Returns the attribute for the specified attribute code and vendor id. |
static Attribute |
getByName(String name) Returns the Attribute for the specified attribute name. |
int |
getCode() Returns the attribute AVP code. |
int |
getFlags() Returns the AVP header flags for the attribute. |
String |
getName() Returns the attribute name, or null if unspecified. |
static Set<Integer> |
getSupportedVendorIds() |
Type |
getType() Returns the attribute data type. |
int |
getVendorId() Returns the attribute vendor id, or 0 for Diameter base protocol. |
int |
hashCode() |
boolean |
isEndToEndEncryption() Returns true if this attribute supports end-to-end encryption. |
boolean |
isGrouped() Returns true if this is an attribute for a grouped AVP. |
boolean |
isMandatory() Returns true if this is a mandatory attribute. |
boolean |
isUnknown() Returns true if this attribute is unknown (unregistered). |
boolean |
isVendorSpecific() Returns true if this is a vendor specified attribute. |
String |
toString() |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int FLAG_NONE
public static final int FLAG_VENDOR_SPECIFIC
public static final int FLAG_MANDATORY
public static final int FLAG_END_TO_END_ENCRYPTION
public static final int CODE_ACCT_APPLICATION_ID
public static final int CODE_AUTH_APPLICATION_ID
public static final int CODE_DESTINATION_HOST
public static final int CODE_DESTINATION_REALM
public static final int CODE_EXPERIMENTAL_RESULT
public static final int CODE_EXPERIMENTAL_RESULT_CODE
public static final int CODE_FIRMWARE_REVISION
public static final int CODE_HOST_IP_ADDRESS
public static final int CODE_INBAND_SECURITY_ID
public static final int CODE_ORIGIN_HOST
public static final int CODE_ORIGIN_REALM
public static final int CODE_PRODUCT_NAME
public static final int CODE_PROXY_INFO
public static final int CODE_RESULT_CODE
public static final int CODE_ROUTE_RECORD
public static final int CODE_SESSION_ID
public static final int CODE_SUPPORTED_VENDOR_ID
public static final int CODE_VENDOR_ID
public static final int CODE_VENDOR_SPECIFIC_APPLICATION_ID
public static final int CODE_ACCOUNTING_RECORD_TYPE
public static final int CODE_ACCOUNTING_RECORD_NUMBER
public static final int CODE_USER_NAME
public static final int CODE_ACCT_INTERIM_INTERVAL
public static final Attribute ACCT_INTERIM_INTERVAL
public static final Attribute ACCOUNTING_REALTIME_REQUIRED
public static final Attribute ACCT_MULTI_SESSION_ID
public static final Attribute ACCOUNTING_RECORD_NUMBER
public static final Attribute ACCOUNTING_RECORD_TYPE
public static final Attribute ACCOUNTING_SESSION_ID
public static final Attribute ACCOUNTING_SUB_SESSION_ID
public static final Attribute ACCT_APPLICATION_ID
public static final Attribute AUTH_APPLICATION_ID
public static final Attribute AUTH_REQUEST_TYPE
public static final Attribute AUTHORIZATION_LIFETIME
public static final Attribute AUTH_GRACE_PERIOD
public static final Attribute AUTH_SESSION_STATE
public static final Attribute RE_AUTH_REQUEST_TYPE
public static final Attribute CLASS
public static final Attribute DESTINATION_HOST
public static final Attribute DESTINATION_REALM
public static final Attribute DISCONNECT_CAUSE
public static final Attribute E2E_SEQUENCE
public static final Attribute ERROR_MESSAGE
public static final Attribute ERROR_REPORTING_HOST
public static final Attribute EVENT_TIMESTAMP
public static final Attribute EXPERIMENTAL_RESULT
public static final Attribute EXPERIMENTAL_RESULT_CODE
public static final Attribute FAILED_AVP
public static final Attribute FIRMWARE_REVISION
public static final Attribute HOST_IP_ADDRESS
public static final Attribute INBAND_SECURITY_ID
public static final Attribute MULTI_ROUND_TIME_OUT
public static final Attribute ORIGIN_HOST
public static final Attribute ORIGIN_REALM
public static final Attribute ORIGIN_STATE_ID
public static final Attribute PRODUCT_NAME
public static final Attribute PROXY_HOST
public static final Attribute PROXY_INFO
public static final Attribute PROXY_STATE
public static final Attribute REDIRECT_HOST
public static final Attribute REDIRECT_HOST_USAGE
public static final Attribute REDIRECT_MAX_CACHE_TIME
public static final Attribute RESULT_CODE
public static final Attribute ROUTE_RECORD
public static final Attribute SESSION_ID
public static final Attribute SESSION_TIMEOUT
public static final Attribute SESSION_BINDING
public static final Attribute SESSION_SERVER_FAILOVER
public static final Attribute SUPPORTED_VENDOR_ID
public static final Attribute TERMINATION_CAUSE
public static final Attribute USER_NAME
public static final Attribute VENDOR_ID
public static final Attribute VENDOR_SPECIFIC_APPLICATION_ID
Constructor Detail |
---|
public Attribute(int code, int vendorId, int flags)
code
- the attribute codevendorId
- the attribute vendor idflags
- the attribute flagsMethod Detail |
---|
public static Attribute define(int code, String name, int vendorId, int flags, Type type)
code
- the attribute codename
- the attribute namevendorId
- the attribute vendor id, or 0 for Diameter baseflags
- the attribute flagstype
- the attribute data typeIllegalStateException
- if the attribute is already defined but with properties that are inconsistent with the specified argumentspublic static Attribute define(int code, String name, int vendorId, Type type)
code
- the attribute codename
- the attribute namevendorId
- the attribute vendor id, or 0 for Diameter basetype
- the attribute data typeIllegalStateException
- if the attribute is already definedpublic static Attribute define(int code, String name, Type type)
code
- the attribute codename
- the attribute nametype
- the attribute data typeIllegalStateException
- if the attribute is already definedpublic static Attribute define(int code, String name)
code
- the attribute codename
- the attribute namepublic static Attribute getByName(String name)
name
- the attribute namepublic static Attribute getByCode(int code)
code
- the attribute codepublic static Attribute getByCode(int code, int vendorId)
code
- the attribute codevendorId
- the attribute vendor idpublic int getCode()
public String getName()
public int getFlags()
public int getVendorId()
public Type getType()
public boolean isGrouped()
public boolean isMandatory()
public boolean isVendorSpecific()
public boolean isEndToEndEncryption()
public boolean isUnknown()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
public static Set<Integer> getSupportedVendorIds()
public XmlBuffer appendXml(XmlBuffer xb)
|
Oracle Communications Converged Application Server Java API Reference 5.1 E36938-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2012 Oracle Corporation. All Rights Reserved.