|
||||||||||
| 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.SessionServerFailoverType
public class SessionServerFailoverType
Java class to represent the SessionServerFailover enumerated type.
Documentation from the relevant specification: The Session-Server-Failover AVP (AVP Code 271) is of type Enumerated, and MAY be present in application-specific authorization answer messages that either do not include the Session-Binding AVP or include the Session-Binding AVP with any of the bits set to a zero value. If present, this AVP MAY inform the Diameter client that if a re-auth or STR message fails due to a delivery problem, the Diameter client SHOULD issue a subsequent message without the Destination-Host AVP. When absent, the default value is REFUSE_SERVICE.
| Field Summary | |
|---|---|
static int |
_ALLOW_SERVICE
|
static int |
_REFUSE_SERVICE
|
static int |
_TRY_AGAIN
|
static int |
_TRY_AGAIN_ALLOW_SERVICE
|
static SessionServerFailoverType |
ALLOW_SERVICE
If re-auth message delivery fails, assume that re-authorization succeeded. |
static SessionServerFailoverType |
REFUSE_SERVICE
If either the re-auth or the STR message delivery fails, terminate service with the user, and do not attempt any subsequent attempts. |
static SessionServerFailoverType |
TRY_AGAIN
If either the re-auth or the STR message delivery fails, resend the failed message without the Destination-Host AVP present. |
static SessionServerFailoverType |
TRY_AGAIN_ALLOW_SERVICE
If either the re-auth or the STR message delivery fails, resend the failed message without the Destination-Host AVP present. |
| Method Summary | |
|---|---|
static SessionServerFailoverType |
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 _REFUSE_SERVICE
public static final int _TRY_AGAIN
public static final int _ALLOW_SERVICE
public static final int _TRY_AGAIN_ALLOW_SERVICE
public static final SessionServerFailoverType REFUSE_SERVICE
public static final SessionServerFailoverType TRY_AGAIN
public static final SessionServerFailoverType ALLOW_SERVICE
public static final SessionServerFailoverType TRY_AGAIN_ALLOW_SERVICE
| Method Detail |
|---|
public static SessionServerFailoverType 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 | |||||||||