|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.slee.resource.diameter.base.events.avp.AccountingRealtimeRequiredType
public class AccountingRealtimeRequiredType
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.
| Field Summary | |
|---|---|
static int |
_DELIVER_AND_GRANT
|
static int |
_GRANT_AND_LOSE
|
static int |
_GRANT_AND_STORE
|
static AccountingRealtimeRequiredType |
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 AccountingRealtimeRequiredType |
GRANT_AND_LOSE
The AVP with Value field set to GRANT_AND_LOSE means that service SHOULD be granted even if the records can not be delivered or stored. |
static AccountingRealtimeRequiredType |
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 | |
|---|---|
static AccountingRealtimeRequiredType |
fromInt(int type)
|
int |
getValue()
Return the value of this instance of this enumerated type. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int _DELIVER_AND_GRANT
public static final int _GRANT_AND_STORE
public static final int _GRANT_AND_LOSE
public static final AccountingRealtimeRequiredType DELIVER_AND_GRANT
public static final AccountingRealtimeRequiredType GRANT_AND_STORE
public static final AccountingRealtimeRequiredType GRANT_AND_LOSE
| Method Detail |
|---|
public static AccountingRealtimeRequiredType fromInt(int type)
public int getValue()
Enumerated
getValue in interface Enumeratedpublic 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 | |||||||||