public class AdHocResponse extends Object
| Constructor and Description |
|---|
AdHocResponse(tigase.jaxmpp.core.client.PacketWriter writer) |
| Modifier and Type | Method and Description |
|---|---|
Set<Action> |
getAvailableActions()
Returns collection of available action.
|
Action |
getDefaultAction()
Returns default action
|
tigase.jaxmpp.core.client.xmpp.forms.JabberDataElement |
getForm()
Return response Data Form.
|
State |
getState()
Return state of execution.
|
tigase.jaxmpp.core.client.PacketWriter |
getWriter()
Return writer.
|
void |
setDefaultAction(Action defaultAction)
Set default action.
|
void |
setForm(tigase.jaxmpp.core.client.xmpp.forms.JabberDataElement form)
Set reponse data form.
|
void |
setState(State state)
Set execution state.
|
public AdHocResponse(tigase.jaxmpp.core.client.PacketWriter writer)
public Set<Action> getAvailableActions()
public Action getDefaultAction()
null is no action has no been
set.public tigase.jaxmpp.core.client.xmpp.forms.JabberDataElement getForm()
null is no
data has no been set.public State getState()
null is no state has no
been set.public tigase.jaxmpp.core.client.PacketWriter getWriter()
public void setDefaultAction(Action defaultAction)
defaultAction - Actionpublic void setForm(tigase.jaxmpp.core.client.xmpp.forms.JabberDataElement form)
form - Data FormCopyright © 2006–2016 Tigase. All rights reserved.