Class AccessCodes
java.lang.Object
ru.bitel.bgbilling.modules.tv.common.bean.AccessCodes
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isConnectionStateful
(int accessCode) Может ли состояние соединение измениться с этим accessCode.
Например, клиент подключился с запрещенным MAC-адресом - соединение нельзя переключать в состояние включен.static boolean
isStateful
(int accessCode) static boolean
isStateRelated
(int accessCode) static String
toString
(ParameterMap moduleSetup, int code)
-
Field Details
-
AUTHORIZATION_SUCCEEDED
public static final int AUTHORIZATION_SUCCEEDED- See Also:
-
INVALID_ACCOUNT
public static final int INVALID_ACCOUNT- See Also:
-
INVALID_PIN
public static final int INVALID_PIN- See Also:
-
TOO_MANY_SESSIONS_ERROR
public static final int TOO_MANY_SESSIONS_ERROR- See Also:
-
ACCOUNTING_PERIOD_NOT_AVAILABLE
public static final int ACCOUNTING_PERIOD_NOT_AVAILABLE- See Also:
-
SERVICE_LOCKED
public static final int SERVICE_LOCKED- See Also:
-
CONTRACT_LOCKED
public static final int CONTRACT_LOCKED- See Also:
-
BALANCE_INSUFFICIENT
public static final int BALANCE_INSUFFICIENT- See Also:
-
SERVICE_CLOSED
public static final int SERVICE_CLOSED- See Also:
-
CARD_EXPIRED
public static final int CARD_EXPIRED- See Also:
-
CARD_LOCKED
public static final int CARD_LOCKED- See Also:
-
CARD_FOR_BALANCE
public static final int CARD_FOR_BALANCE- See Also:
-
CARD_ACTIVATED_BALANCE
public static final int CARD_ACTIVATED_BALANCE- See Also:
-
NAS_DENY
public static final int NAS_DENY- See Also:
-
SERVICE_DENY
public static final int SERVICE_DENY- See Also:
-
USER_DENY
public static final int USER_DENY- See Also:
-
REALM_DENY
public static final int REALM_DENY- See Also:
-
AUTH_DENY
public static final int AUTH_DENY- See Also:
-
DESTINATION_DENY
public static final int DESTINATION_DENY- See Also:
-
MAC_DENY
public static final int MAC_DENY- See Also:
-
IDENTIFIER_DENY
public static final int IDENTIFIER_DENY- See Also:
-
NAS_NOT_FOUND
public static final int NAS_NOT_FOUND- See Also:
-
SERVICE_NOT_FOUND
public static final int SERVICE_NOT_FOUND- See Also:
-
TARIFF_NOT_FOUND
public static final int TARIFF_NOT_FOUND- See Also:
-
PRICE_NOT_FOUND
public static final int PRICE_NOT_FOUND- See Also:
-
CALL_TYPE_NOT_RECOGNIZED
public static final int CALL_TYPE_NOT_RECOGNIZED- See Also:
-
DESTINATION_NOT_FOUND
public static final int DESTINATION_NOT_FOUND- See Also:
-
FREE_IP_ADDRESS_NOT_FOUND
public static final int FREE_IP_ADDRESS_NOT_FOUND- See Also:
-
SYSTEM_ERROR
public static final int SYSTEM_ERROR- See Also:
-
-
Constructor Details
-
AccessCodes
public AccessCodes()
-
-
Method Details
-
isStateRelated
public static boolean isStateRelated(int accessCode) -
isStateful
public static boolean isStateful(int accessCode) -
toString
-
isConnectionStateful
public static boolean isConnectionStateful(int accessCode) Может ли состояние соединение измениться с этим accessCode.
Например, клиент подключился с запрещенным MAC-адресом - соединение нельзя переключать в состояние включен.- Parameters:
accessCode
-- Returns:
-