public class ColibriStatsExtension extends AbstractPacketExtension
Modifier and Type | Class and Description |
---|---|
static class |
ColibriStatsExtension.Stat |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELEMENT_NAME
The XML element name of the Jitsi Videobridge stats extension.
|
static java.lang.String |
NAMESPACE
The XML COnferencing with LIghtweight BRIdging namespace of the Jitsi
Videobridge stats extension.
|
attributes
Constructor and Description |
---|
ColibriStatsExtension()
Constructs new ColibriStatsExtension
|
Modifier and Type | Method and Description |
---|---|
void |
addStat(ColibriStatsExtension.Stat stat)
Adds stat extension.
|
java.util.List<? extends org.jivesoftware.smack.packet.PacketExtension> |
getChildExtensions()
Returns all sub-elements for this AbstractPacketExtension or
null if there aren't any.
|
addChildExtension, addPacket, clone, getAttribute, getAttributeAsInt, getAttributeAsInt, getAttributeAsString, getAttributeAsURI, getAttributeNames, getChildExtensionsOfType, getElementName, getFirstChildOfType, getNamespace, getPackets, getText, removeAttribute, setAttribute, setNamespace, setText, toXML
public static final java.lang.String ELEMENT_NAME
public static final java.lang.String NAMESPACE
public ColibriStatsExtension()
public void addStat(ColibriStatsExtension.Stat stat)
stat
- the stat to be addedpublic java.util.List<? extends org.jivesoftware.smack.packet.PacketExtension> getChildExtensions()
AbstractPacketExtension
Overriding extensions may need to override this method if they would like to have anything more elaborate than just a list of extensions.
getChildExtensions
in class AbstractPacketExtension
List
of elements that this packet extension contains.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.