Enum Constant and Description |
---|
ALTERNATIVE_SESSION
A reason indicating that the party prefers to use an existing session
with the peer rather than initiate a new session; the Jingle session ID
of the alternative session SHOULD be provided as the XML character data
of the
|
BUSY
A reason indicating that the party is busy and cannot accept a session.
|
CANCEL
A reason indicating that the initiator wishes to formally cancel the
session initiation request.
|
CONNECTIVITY_ERROR
A reason indicating that the action is related to connectivity problems.
|
DECLINE
A reason indicating that the party wishes to formally decline the
session.
|
EXPIRED
A reason indicating that the session length has exceeded a pre-defined
time limit (e.g., a meeting hosted at a conference service).
|
FAILED_APPLICATION
A reason indicating that the party has been unable to initialize
processing related to the application type.
|
FAILED_TRANSPORT
A reason indicating that the party has been unable to establish
connectivity for the transport method.
|
GENERAL_ERROR
A reason indicating that the action is related to a non-specific
application error.
|
GONE
A reason indicating that the entity is going offline or is no longer
available.
|
INCOMPATIBLE_PARAMETERS
A reason indicating that the party supports the offered application type
but does not support the offered or negotiated parameters.
|
MEDIA_ERROR
A reason indicating that the action is related to media processing
problems.
|
SECURITY_ERROR
A reason indicating that the action is related to a violation of local
security policies.
|
SUCCESS
A reason indicating that the action is generated during the normal
course of state management and does not reflect any error.
|
TIMEOUT
A reason indicating that a request has not been answered so the sender
is timing out the request.
|
UNDEFINED
A reason created for unsupported reasons(not defined in this enum).
|
UNSUPPORTED_APPLICATIONS
A reason indicating that the party supports none of the offered
application types.
|
UNSUPPORTED_TRANSPORTS
A reason indicating that the party supports none of the offered
transport methods.
|
Modifier and Type | Method and Description |
---|---|
static Reason |
parseString(java.lang.String reasonValueStr)
|
java.lang.String |
toString()
Returns the name of this reason (e.g.
|
static Reason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Reason ALTERNATIVE_SESSION
public static final Reason BUSY
public static final Reason CANCEL
public static final Reason CONNECTIVITY_ERROR
public static final Reason DECLINE
public static final Reason EXPIRED
public static final Reason FAILED_APPLICATION
public static final Reason FAILED_TRANSPORT
public static final Reason GENERAL_ERROR
public static final Reason GONE
public static final Reason INCOMPATIBLE_PARAMETERS
public static final Reason MEDIA_ERROR
public static final Reason SECURITY_ERROR
public static final Reason SUCCESS
public static final Reason TIMEOUT
public static final Reason UNSUPPORTED_APPLICATIONS
public static final Reason UNSUPPORTED_TRANSPORTS
public static final Reason UNDEFINED
public static Reason[] values()
for (Reason c : Reason.values()) System.out.println(c);
public static Reason 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 toString()
toString
in class java.lang.Enum<Reason>
public static Reason parseString(java.lang.String reasonValueStr)
SUCCESS
for
"success" or TIMEOUT
for "timeout").reasonValueStr
- the action String that we'd like to
parse.UNDEFINED
for invalid
jingleValueStr values.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.