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 void setDefaultAction(Action defaultAction)
defaultAction - Actionpublic JabberDataElement getForm()
null is no data has no been set.public void setForm(JabberDataElement form)
form - Data Formpublic State getState()
null is no state has no been set.public PacketWriter getWriter()
Copyright © 2006–2020 Tigase. All rights reserved.