org.cipango.diameter
Class ApplicationId
java.lang.Object
org.cipango.diameter.ApplicationId
public class ApplicationId
- extends java.lang.Object
The Application Identifier is used to identify a specific Diameter Application. There are
standards-track application ids and vendor specific application ids.
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.
The following values are allocated.
- Diameter Common Messages 0
- NASREQ 1
- Mobile-IP 2
- Diameter Base Accounting 3
- Relay 0xffffffff
Assignment of standards-track application IDs are by Designated Expert with Specification
Required [IANA].
Both Application-Id and Acct-Application-Id AVPs use the same Application Identifier space.
Vendor-Specific Application Identifiers, are for Private Use. Vendor-Specific Application
Identifiers are assigned on a First Come, First Served basis by IANA.
IETF applications ID: Accounting
3GPP applications ID: Sh
,
Cx
,
Zh
,
Zn
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ApplicationId
public ApplicationId(ApplicationId.Type type,
int id,
java.util.List<java.lang.Integer> vendors)
ApplicationId
public ApplicationId(ApplicationId.Type type,
int id,
int vendor)
ApplicationId
public ApplicationId(ApplicationId.Type type,
int id)
getId
public int getId()
isAuth
public boolean isAuth()
isAcct
public boolean isAcct()
isVendorSpecific
public boolean isVendorSpecific()
getVendors
public java.util.List<java.lang.Integer> getVendors()
getAVP
public AVP<?> getAVP()
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
ofAVP
public static ApplicationId ofAVP(DiameterServletMessage message)
Copyright © 2010. All Rights Reserved.