public class AdHocResponse extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AdHocResponse.State |
Modifier and Type | Method and Description |
---|---|
Element |
addDataForm(Command.DataType dataType) |
Element |
addDataForm(Command.DataType dataType,
Consumer<Element> consumer) |
void |
cancelSession() |
void |
completeSession() |
Collection<Element> |
getElements() |
AdHocResponse.State |
getNewState() |
void |
setNewState(AdHocResponse.State newState) |
void |
startSession() |
public void cancelSession()
public void completeSession()
public Collection<Element> getElements()
public Element addDataForm(Command.DataType dataType)
public Element addDataForm(Command.DataType dataType, Consumer<Element> consumer)
public void startSession()
public AdHocResponse.State getNewState()
public void setNewState(AdHocResponse.State newState)
Copyright © 2004–2020 "Tigase, Inc.". All rights reserved.