public class ChatRoomConfigurationFormJabberImpl extends java.lang.Object implements ChatRoomConfigurationForm
Modifier and Type | Field and Description |
---|---|
protected org.jivesoftware.smackx.Form |
smackConfigForm
The smack chat room configuration form.
|
protected org.jivesoftware.smackx.Form |
smackSubmitForm
The form that will be filled out and submitted by user.
|
Constructor and Description |
---|
ChatRoomConfigurationFormJabberImpl(org.jivesoftware.smackx.muc.MultiUserChat multiUserChat,
org.jivesoftware.smackx.Form smackConfigForm)
Creates an instance of ChatRoomConfigurationFormJabberImpl by
specifying the corresponding smack multi user chat and smack
configuration form.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<ChatRoomConfigurationFormField> |
getConfigurationSet()
Returns an Iterator over a list of
ChatRoomConfigurationFormFields.
|
void |
submit()
Sends the ready smack configuration form to the multi user chat.
|
protected org.jivesoftware.smackx.Form smackConfigForm
protected org.jivesoftware.smackx.Form smackSubmitForm
public ChatRoomConfigurationFormJabberImpl(org.jivesoftware.smackx.muc.MultiUserChat multiUserChat, org.jivesoftware.smackx.Form smackConfigForm)
multiUserChat
- the smack multi user chat, to which we'll send the
configuration form once filled outsmackConfigForm
- the smack configuration formpublic java.util.Iterator<ChatRoomConfigurationFormField> getConfigurationSet()
getConfigurationSet
in interface ChatRoomConfigurationForm
public void submit() throws OperationFailedException
submit
in interface ChatRoomConfigurationForm
OperationFailedException
- if the submit opeation do not succeed
for some reason (e.g. a wrong value is provided for a property)
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.