|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.diameter.charging.util.ChargingUtil
public class ChargingUtil
The Charging Util contains common constants for the Ro and Rf applications, as well as tools to generate EndToEndIds and SessionIds.
Field Summary | |
---|---|
static int |
ACCT_APPLICATION_ID
The Acct-Application-Id used by Rf is 3. |
static int |
AUTH_APPLICATION_ID
The Auth-Application-Id used by Ro is 4. |
static int |
NO_REQUIRED_ID
|
static com.ibm.diameter.util.ApplicationIdInfo |
RF_APPLICATION_ID_INFO
Application Identifier for Rf. |
static int[] |
RF_SUPPORTED_VENDOR_IDS
Array of Vendor-Ids supported by the Rf Application. |
static com.ibm.diameter.util.ApplicationIdInfo |
RO_APPLICATION_ID_INFO
Application Identifier for Ro. |
static int[] |
RO_SUPPORTED_VENDOR_IDS
Array of Vendor-Ids supported by the Ro Application. |
static int |
VENDOR_ID_3GPP
The Vendor-Id of the 3GPP is 10415. |
static int |
VENDOR_ID_BASE
The Vendor-Id of the Diameter Base is 0. |
Method Summary | |
---|---|
static java.lang.String |
generateDiameterSession(byte[] origin_host)
Generates a unique Session Id that can be inserted into the {Session-Id} Avp. |
static int |
generateEndToEndId()
Generates a unique End to End Identifer that can be inserted into the diameter packet. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int NO_REQUIRED_ID
public static final int VENDOR_ID_3GPP
public static final int VENDOR_ID_BASE
public static final int ACCT_APPLICATION_ID
public static final int AUTH_APPLICATION_ID
public static final int[] RF_SUPPORTED_VENDOR_IDS
public static final int[] RO_SUPPORTED_VENDOR_IDS
public static final com.ibm.diameter.util.ApplicationIdInfo RF_APPLICATION_ID_INFO
public static final com.ibm.diameter.util.ApplicationIdInfo RO_APPLICATION_ID_INFO
Method Detail |
---|
public static int generateEndToEndId()
public static java.lang.String generateDiameterSession(byte[] origin_host)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |