public class OpenCloudDiameter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
OPENCLOUD_DIAMETER_VENDOR_ID
OpenCloud's own diameter vendor id
|
Constructor and Description |
---|
OpenCloudDiameter() |
Modifier and Type | Method and Description |
---|---|
static boolean |
ccaHasOpenCloudResult(CreditControlAnswer latestOcsAnswer)
Determines if the supplied CreditControlAnswer contains the OpenCloud vendor ID in an ExperimentalResult AVP.
|
static int |
getOpenCloudResult(CreditControlAnswer latestOcsAnswer)
Gets the OpenCloud result code from the supplied CreditControlAnswer if it
contains the OpenCloud vendor ID in an ExperimentalResult AVP.
|
public static final int OPENCLOUD_DIAMETER_VENDOR_ID
public static boolean ccaHasOpenCloudResult(CreditControlAnswer latestOcsAnswer)
latestOcsAnswer
- CreditControlAnswer to inspect.public static int getOpenCloudResult(CreditControlAnswer latestOcsAnswer)
latestOcsAnswer
- CreditControlAnswer to inspect.java.lang.IllegalArgumentException
- if there isn't an OpenCloud ExperimentalResult AVP.Copyright © OpenCloud. All Rights Reserved.