org.cipango.diameter.base
Enum Accounting.AccountingRealtimeRequired

java.lang.Object
  extended by java.lang.Enum<Accounting.AccountingRealtimeRequired>
      extended by org.cipango.diameter.base.Accounting.AccountingRealtimeRequired
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Accounting.AccountingRealtimeRequired>
Enclosing class:
Accounting

public static enum Accounting.AccountingRealtimeRequired
extends java.lang.Enum<Accounting.AccountingRealtimeRequired>


Enum Constant Summary
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.
GRAND_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.
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 Accounting.AccountingRealtimeRequired valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Accounting.AccountingRealtimeRequired[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DELIVER_AND_GRANT

public static final Accounting.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 Accounting.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.


GRAND_AND_LOSE

public static final Accounting.AccountingRealtimeRequired GRAND_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.

Method Detail

values

public static Accounting.AccountingRealtimeRequired[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Accounting.AccountingRealtimeRequired c : Accounting.AccountingRealtimeRequired.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Accounting.AccountingRealtimeRequired valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Copyright © 2010. All Rights Reserved.