@NotThreadSafe public class RoomConfiguration extends IQ
Code example:
// Set the fields and the values. Map> fields = new HashMap >(); // Make a non-public room List values = new ArrayList (); values.add("0"); fields.put("muc#roomconfig_publicroom", values); // Create a RoomConfiguration with the fields and values RoomConfiguration conf = new RoomConfiguration(fields); conf.setTo("room@conference.jabber.org"); conf.setFrom("john@jabber.org/notebook"); component.sendPacket(conf);
docFactory, element, fromJID, toJID| Constructor and Description |
|---|
RoomConfiguration(Map<String,Collection<String>> fieldValues)
Creates a new IQ packet that contains the field and values to send for setting the room
configuration.
|
addExtension, createCopy, createResultIQ, deleteExtension, getChildElement, getExtension, getType, isRequest, isResponse, setChildElement, setChildElement, setTypepublic RoomConfiguration(Map<String,Collection<String>> fieldValues)
fieldValues - the list of fields associated with the list of values.Copyright © 2009–2017 Ignite Realtime. All rights reserved.