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