Class AccountingRealtimeRequired
- java.lang.Object
-
- org.jainslee.resources.diameter.base.types.AccountingRealtimeRequired
-
- All Implemented Interfaces:
Serializable
,Enumerated
public class AccountingRealtimeRequired extends Object implements Serializable, Enumerated
Java class to represent the AccountingRealtimeRequired enumerated type. Documentation from the relevant specification: The Accounting-Realtime-Required AVP (AVP Code 483) is of type Enumerated and is sent from the Diameter home authorization server to the Diameter client or in the Accounting-Answer from the accounting server. The client uses information in this AVP to decide what to do if the sending of accounting records to the accounting server has been temporarily prevented due to, for instance, a network problem.- Author:
- Open Cloud
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
_DELIVER_AND_GRANT
static int
_GRANT_AND_LOSE
static int
_GRANT_AND_STORE
static AccountingRealtimeRequired
DELIVER_AND_GRANT
The AVP with Value field set to DELIVER_AND_GRANT means that the service MUST only be granted as long as there is a connection to an accounting server.static AccountingRealtimeRequired
GRANT_AND_LOSE
The AVP with Value field set to GRANT_AND_LOSE means that service SHOULD be granted even if the records cannot be delivered or stored.static AccountingRealtimeRequired
GRANT_AND_STORE
The AVP with Value field set to GRANT_AND_STORE means that service SHOULD be granted if there is a connection, or as long as records can still be stored as described in Section 9.4.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AccountingRealtimeRequired
fromInt(int type)
int
getValue()
Return the value of this instance of this enumerated type.String
toString()
-
-
-
Field Detail
-
_DELIVER_AND_GRANT
public static final int _DELIVER_AND_GRANT
- See Also:
- Constant Field Values
-
_GRANT_AND_STORE
public static final int _GRANT_AND_STORE
- See Also:
- Constant Field Values
-
_GRANT_AND_LOSE
public static final int _GRANT_AND_LOSE
- See Also:
- Constant Field Values
-
DELIVER_AND_GRANT
public static final AccountingRealtimeRequired DELIVER_AND_GRANT
The AVP with Value field set to DELIVER_AND_GRANT means that the service MUST only be granted as long as there is a connection to an accounting server. Note that the set of alternative accounting servers are treated as one server in this sense. Having to move the accounting record stream to a backup server is not a reason to discontinue the service to the user.
-
GRANT_AND_STORE
public static final AccountingRealtimeRequired GRANT_AND_STORE
The AVP with Value field set to GRANT_AND_STORE means that service SHOULD be granted if there is a connection, or as long as records can still be stored as described in Section 9.4. This is the default behavior if the AVP isn't included in the reply from the authorization server.
-
GRANT_AND_LOSE
public static final AccountingRealtimeRequired GRANT_AND_LOSE
The AVP with Value field set to GRANT_AND_LOSE means that service SHOULD be granted even if the records cannot be delivered or stored.
-
-
Method Detail
-
fromInt
public static AccountingRealtimeRequired fromInt(int type)
-
getValue
public int getValue()
Description copied from interface:Enumerated
Return the value of this instance of this enumerated type.- Specified by:
getValue
in interfaceEnumerated
- Returns:
- value
-
-