Package tigase.component.adhoc

# Class AdHocResponse

java.lang.Object
tigase.component.adhoc.AdHocResponse

public class AdHocResponse extends Object

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static enum`
  `AdHocResponse.State`

- ## Method Summary

  Modifier and Type
  Method
  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()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### cancelSession

    public void cancelSession()

  - ### completeSession

    public void completeSession()

  - ### getElements

    public Collection<Element> getElements()

  - ### addDataForm

    public Element addDataForm(Command.DataType dataType)

  - ### addDataForm

    public Element addDataForm(Command.DataType dataType, Consumer<Element> consumer)

  - ### startSession

    public void startSession()

  - ### getNewState

    public AdHocResponse.State getNewState()

  - ### setNewState

    public void setNewState(AdHocResponse.State newState)