|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.wcp.diameter.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 | |
static Attribute |
define(int code,
java.lang.String name)
Defines a new Diameter base protocol attribute with default flags (FLAGS_MANDATORY) and data type of "Integer32". |
static Attribute |
define(int code,
java.lang.String name,
int vendorId,
int flags,
Type type)
Defines a new Diameter attribute. |
static Attribute |
define(int code,
java.lang.String name,
int vendorId,
Type type)
Defines a new Diameter attribute with default flags (FLAG_MANDATORY). |
static Attribute |
define(int code,
java.lang.String name,
Type type)
Defines a new Diameter base protocol attribute with default flags (FLAG_MANDATORY). |
boolean |
equals(java.lang.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(java.lang.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. |
java.lang.String |
getName()
Returns the attribute name, or null if unspecified. |
static java.util.Set |
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. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final Attribute ACCOUNTING_REALTIME_REQUIRED
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 ACCT_INTERIM_INTERVAL
public static final Attribute ACCT_MULTI_SESSION_ID
public static final Attribute AUTH_APPLICATION_ID
public static final Attribute AUTH_GRACE_PERIOD
public static final Attribute AUTH_REQUEST_TYPE
public static final Attribute AUTH_SESSION_STATE
public static final Attribute AUTHORIZATION_LIFETIME
public static final Attribute CLASS
public static final int CODE_ACCOUNTING_RECORD_NUMBER
public static final int CODE_ACCOUNTING_RECORD_TYPE
public static final int CODE_ACCT_APPLICATION_ID
public static final int CODE_ACCT_INTERIM_INTERVAL
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_USER_NAME
public static final int CODE_VENDOR_ID
public static final int CODE_VENDOR_SPECIFIC_APPLICATION_ID
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 int FLAG_END_TO_END_ENCRYPTION
public static final int FLAG_MANDATORY
public static final int FLAG_NONE
public static final int FLAG_VENDOR_SPECIFIC
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 RE_AUTH_REQUEST_TYPE
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_BINDING
public static final Attribute SESSION_ID
public static final Attribute SESSION_SERVER_FAILOVER
public static final Attribute SESSION_TIMEOUT
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)
Method Detail |
public static Attribute define(int code, java.lang.String name)
code
- the attribute codename
- the attribute namepublic static Attribute define(int code, java.lang.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 type
java.lang.IllegalStateException
- if the attribute is already defined but
with properties that are inconsistent with the specified argumentspublic static Attribute define(int code, java.lang.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 type
java.lang.IllegalStateException
- if the attribute is already definedpublic static Attribute define(int code, java.lang.String name, Type type)
code
- the attribute codename
- the attribute nametype
- the attribute data type
java.lang.IllegalStateException
- if the attribute is already definedpublic boolean equals(java.lang.Object obj)
public static Attribute getByCode(int code)
code
- the attribute code
public static Attribute getByCode(int code, int vendorId)
code
- the attribute codevendorId
- the attribute vendor id
public static Attribute getByName(java.lang.String name)
name
- the attribute name
public int getCode()
public int getFlags()
public java.lang.String getName()
public static java.util.Set getSupportedVendorIds()
public Type getType()
public int getVendorId()
public int hashCode()
public boolean isEndToEndEncryption()
public boolean isGrouped()
public boolean isMandatory()
public boolean isUnknown()
public boolean isVendorSpecific()
public java.lang.String toString()
|
Documentation is available at http://download.oracle.com/docs/cd/E13209_01/wlcp/wlss31/ Copyright 2007 BEA Systems Inc. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |