Enum Jingle.Action
- java.lang.Object
-
- java.lang.Enum<Jingle.Action>
-
- rocks.xmpp.extensions.jingle.model.Jingle.Action
-
- All Implemented Interfaces:
Serializable
,Comparable<Jingle.Action>
- Enclosing class:
- Jingle
public static enum Jingle.Action extends Enum<Jingle.Action>
The action.- See Also:
- 7.2 Action Attribute
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTENT_ACCEPT
Accept a content-add action received from another party.CONTENT_ADD
Add one or more new content definitions to the session.CONTENT_MODIFY
Change the directionality of media sending.CONTENT_REJECT
Reject a content-add action received from another party.CONTENT_REMOVE
Remove one or more content definitions from the session.DESCRIPTION_INFO
Exchange information about parameters for an application type.SECURITY_INFO
Send information related to establishment or maintenance of security preconditions.SESSION_ACCEPT
Definitively accept a session negotiation.SESSION_INFO
Send session-level information, such as a ping or a ringing message.SESSION_INITIATE
Request negotiation of a new Jingle session.SESSION_TERMINATE
End an existing session.TRANSPORT_ACCEPT
Accept a transport-replace action received from another party.TRANSPORT_INFO
Exchange transport candidates.TRANSPORT_REJECT
Reject a transport-replace action received from another party.TRANSPORT_REPLACE
Redefine a transport method or replace it with a different method.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Jingle.Action
valueOf(String name)
Returns the enum constant of this type with the specified name.static Jingle.Action[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONTENT_ACCEPT
public static final Jingle.Action CONTENT_ACCEPT
Accept a content-add action received from another party.
-
CONTENT_ADD
public static final Jingle.Action CONTENT_ADD
Add one or more new content definitions to the session.
-
CONTENT_MODIFY
public static final Jingle.Action CONTENT_MODIFY
Change the directionality of media sending.
-
CONTENT_REJECT
public static final Jingle.Action CONTENT_REJECT
Reject a content-add action received from another party.
-
CONTENT_REMOVE
public static final Jingle.Action CONTENT_REMOVE
Remove one or more content definitions from the session.
-
DESCRIPTION_INFO
public static final Jingle.Action DESCRIPTION_INFO
Exchange information about parameters for an application type.
-
SECURITY_INFO
public static final Jingle.Action SECURITY_INFO
Send information related to establishment or maintenance of security preconditions.
-
SESSION_ACCEPT
public static final Jingle.Action SESSION_ACCEPT
Definitively accept a session negotiation.
-
SESSION_INFO
public static final Jingle.Action SESSION_INFO
Send session-level information, such as a ping or a ringing message.
-
SESSION_INITIATE
public static final Jingle.Action SESSION_INITIATE
Request negotiation of a new Jingle session.
-
SESSION_TERMINATE
public static final Jingle.Action SESSION_TERMINATE
End an existing session.
-
TRANSPORT_ACCEPT
public static final Jingle.Action TRANSPORT_ACCEPT
Accept a transport-replace action received from another party.
-
TRANSPORT_INFO
public static final Jingle.Action TRANSPORT_INFO
Exchange transport candidates.
-
TRANSPORT_REJECT
public static final Jingle.Action TRANSPORT_REJECT
Reject a transport-replace action received from another party.
-
TRANSPORT_REPLACE
public static final Jingle.Action TRANSPORT_REPLACE
Redefine a transport method or replace it with a different method.
-
-
Method Detail
-
values
public static Jingle.Action[] 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 (Jingle.Action c : Jingle.Action.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Jingle.Action valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-