public enum SmppErrorType extends java.lang.Enum<SmppErrorType>
Enum Constant and Description |
---|
SMPP_ERROR |
SMPP_ERROR_INVALID_RESPONSE
The stack received an invalid response from the other node.
|
SMPP_ERROR_NONE |
SMPP_TIMEOUT_ENQUIRE_LINK
This session's Enquire Link timer has fired.
|
SMPP_TIMEOUT_INACTIVITY
This session's Inactivity timer has fired.
|
SMPP_TIMEOUT_RESPONSE_RECEIVED
The stack has timed out waiting for a response to be received from the other node in the session.
|
SMPP_TIMEOUT_RESPONSE_SENT
The stack has timed out waiting for a response to be sent to the other node in the session.
|
SMPP_TIMEOUT_SESSION_INIT
This session's Session Init timer has fired, meaning that the session has been too long in the `OPEN` or
`OUTBOUND` states before a successful bind.
|
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode() |
java.lang.String |
getEventName() |
static SmppErrorType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SmppErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SmppErrorType SMPP_ERROR_NONE
public static final SmppErrorType SMPP_ERROR
public static final SmppErrorType SMPP_ERROR_INVALID_RESPONSE
SmppErrorEvent.getMessage()
.public static final SmppErrorType SMPP_TIMEOUT_SESSION_INIT
public static final SmppErrorType SMPP_TIMEOUT_ENQUIRE_LINK
public static final SmppErrorType SMPP_TIMEOUT_INACTIVITY
public static final SmppErrorType SMPP_TIMEOUT_RESPONSE_RECEIVED
SmppErrorEvent.getMessage()
method returns the original request. The service should consider the request to have failed, and may
re-send or reconnect as appropriate.public static final SmppErrorType SMPP_TIMEOUT_RESPONSE_SENT
SmppErrorEvent.getMessage()
method returns the original request. The service should consider the request to have failed, and
send an error response PDU or generick_nack to the other node.public static SmppErrorType[] values()
for (SmppErrorType c : SmppErrorType.values()) System.out.println(c);
public static SmppErrorType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getEventName()
public int getErrorCode()