|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jdiameter.api.ApplicationId
public final class ApplicationId
The application Id is used to point out an application that is supported or used. It is a combination of Authentication application id, Accounting application id and Vendor id.
| Nested Class Summary | |
|---|---|
static interface |
ApplicationId.Ranges
IANA [IANA] has assigned the range 0x00000001 to 0x00ffffff for standards-track applications; and 0x01000000 - 0xfffffffe for vendor specific applications, on a first-come, first-served basis. |
static interface |
ApplicationId.Standard
Standards-track application IDs are by Designated Expert with Specification Required [IANA] |
| Field Summary | |
|---|---|
static long |
UNDEFINED_VALUE
Undefined value of id for application identifier |
| Method Summary | |
|---|---|
static ApplicationId |
createByAccAppId(long acchAppId)
Create instance of ApplicationId use Accounting-Applicaion-Id |
static ApplicationId |
createByAccAppId(long vendorId,
long acchAppId)
Create instance of ApplicationId use Accounting-Applicaion-Id and Vendor-Id |
static ApplicationId |
createByAuthAppId(long authAppId)
Create instance of ApplicationId use Authentication-App-Id |
static ApplicationId |
createByAuthAppId(long vendorId,
long authAppId)
Create instance of ApplicationId use Authentication-App-Id and Vendor-Id |
boolean |
equals(java.lang.Object obj)
|
long |
getAcctAppId()
|
long |
getAuthAppId()
|
long |
getVendorId()
|
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final long UNDEFINED_VALUE
| Method Detail |
|---|
public static ApplicationId createByAuthAppId(long authAppId)
authAppId - authentication application id
public static ApplicationId createByAccAppId(long acchAppId)
acchAppId - accounting applicaion Id
public static ApplicationId createByAuthAppId(long vendorId,
long authAppId)
vendorId - vendor specific idauthAppId - authentication application id
public static ApplicationId createByAccAppId(long vendorId,
long acchAppId)
vendorId - vendor specific idacchAppId - accounting applicaion Id
public long getVendorId()
public long getAuthAppId()
public long getAcctAppId()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - check object
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||