| Package | Description |
|---|---|
| rocks.xmpp.extensions.commands.model |
Provides XML schema implementations of XEP-0050: Ad-Hoc Commands.
|
| Modifier and Type | Method and Description |
|---|---|
Command.Action |
Command.getAction()
Gets the action, which is used by the requester.
|
Command.Action |
Command.getDefaultAction()
Gets the default action or null, if there is no default action.
|
static Command.Action |
Command.Action.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Command.Action[] |
Command.Action.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Command.Action> |
Command.getActions()
Gets the possible command actions, which are provided by the responder.
|
| Constructor and Description |
|---|
Command(String node,
Command.Action action)
Creates a command request for simple execution.
|
Command(String node,
String sessionId,
Command.Action action,
List<Object> payloads)
Creates a command request, which is created by the requester.
|
Command(String node,
String sessionId,
Command.Action action,
List<Object> payloads,
Locale language,
List<Command.Note> notes)
Creates a command request, which is created by the requester.
|
Command(String node,
String sessionId,
Command.Status status,
Collection<Command.Action> actions,
Command.Action defaultAction,
List<Object> payloads)
Creates a command result, which is created by the responder.
|
Command(String node,
String sessionId,
Command.Status status,
Collection<Command.Action> actions,
Command.Action defaultAction,
List<Object> payloads,
Locale language,
List<Command.Note> notes)
Creates a command result, which is created by the responder.
|
| Constructor and Description |
|---|
Command(String node,
String sessionId,
Command.Status status,
Collection<Command.Action> actions,
Command.Action defaultAction,
List<Object> payloads)
Creates a command result, which is created by the responder.
|
Command(String node,
String sessionId,
Command.Status status,
Collection<Command.Action> actions,
Command.Action defaultAction,
List<Object> payloads,
Locale language,
List<Command.Note> notes)
Creates a command result, which is created by the responder.
|
Copyright © 2014–2017 XMPP.rocks. All rights reserved.