Package tigase.component.adhoc

## Class AdHocResponse

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

-     public class AdHocResponse
      extends java.lang.Object

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---
    `static class` | `AdHocResponse.State` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Element` | `addDataForm​(Command.DataType dataType)` |
    `Element` | `addDataForm​(Command.DataType dataType, java.util.function.Consumer<Element> consumer)` |
    `void` | `cancelSession()` |
    `void` | `completeSession()` |
    `java.util.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 Detail

    - #### cancelSession

          public void cancelSession()

    - #### completeSession

          public void completeSession()

    - #### getElements

          public java.util.Collection<Element> getElements()

    - #### addDataForm

          public Element addDataForm​(Command.DataType dataType)

    - #### addDataForm

          public Element addDataForm​(Command.DataType dataType,
                                     java.util.function.Consumer<Element> consumer)

    - #### startSession

          public void startSession()

    - #### getNewState

          public AdHocResponse.State getNewState()

    - #### setNewState

          public void setNewState​(AdHocResponse.State newState)