public class ColibriConferenceIQ
extends org.jivesoftware.smack.packet.IQ
Modifier and Type | Class and Description |
---|---|
static class |
ColibriConferenceIQ.Channel
Represents a channel included into a content of a Jitsi
Videobridge conference IQ.
|
static class |
ColibriConferenceIQ.ChannelBundle
Represents a "channel-bundle" element.
|
static class |
ColibriConferenceIQ.ChannelCommon
Class contains common code for both Channel and
SctpConnection IQ classes.
|
static class |
ColibriConferenceIQ.Content
Represents a content included into a Jitsi Videobridge
conference IQ.
|
static class |
ColibriConferenceIQ.Endpoint
Represents an 'endpoint' element.
|
static class |
ColibriConferenceIQ.GracefulShutdown
Packet extension indicating graceful shutdown in progress status.
|
static class |
ColibriConferenceIQ.OctoChannel
Represents a
ColibriConferenceIQ.Channel of type "octo". |
static class |
ColibriConferenceIQ.Recording
Represents a recording element.
|
static class |
ColibriConferenceIQ.RTCPTerminationStrategy |
static class |
ColibriConferenceIQ.SctpConnection
Represents a SCTP connection included into a content
of a Jitsi Videobridge conference IQ.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELEMENT_NAME
The XML element name of the Jitsi Videobridge conference IQ.
|
static java.lang.String |
GID_ATTR_NAME
The XML name of the gid attribute of the Jitsi Videobridge
conference IQ which represents the value of the gid
property of ColibriConferenceIQ.
|
static java.lang.String |
ID_ATTR_NAME
The XML name of the id attribute of the Jitsi Videobridge
conference IQ which represents the value of the id
property of ColibriConferenceIQ.
|
static java.lang.String |
NAME_ATTR_NAME
The XML name of the name attribute of the Jitsi Videobridge
conference IQ which represents the value of the name
property of ColibriConferenceIQ if available.
|
static java.lang.String |
NAMESPACE
The XML COnferencing with LIghtweight BRIdging namespace of the Jitsi
Videobridge conference IQ.
|
static int[] |
NO_SSRCS
An array of ints which represents the lack of any (RTP) SSRCs
seen/received on a Channel.
|
Constructor and Description |
---|
ColibriConferenceIQ()
Initializes a new ColibriConferenceIQ instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addChannelBundle(ColibriConferenceIQ.ChannelBundle channelBundle)
Adds a specific
ColibriConferenceIQ.Content instance to the list of Content
instances included into this conference IQ. |
boolean |
addContent(ColibriConferenceIQ.Content content)
Adds a specific
ColibriConferenceIQ.Content instance to the list of Content
instances included into this conference IQ. |
boolean |
addContent(java.lang.String contentName)
Initializes a new
ColibriConferenceIQ.Content instance with a specific name and adds
it to the list of Content instances included into this
conference IQ. |
void |
addEndpoint(ColibriConferenceIQ.Endpoint endpoint)
Add an Endpoint to this ColibriConferenceIQ.
|
static org.jivesoftware.smack.packet.IQ |
createGracefulShutdownErrorResponse(org.jivesoftware.smack.packet.IQ request)
Returns an error response for given IQ that is returned by
the videobridge after it has entered graceful shutdown mode and new
conferences can no longer be created.
|
ColibriConferenceIQ.ChannelBundle |
getChannelBundle(java.lang.String bundleId)
Finds
ColibriConferenceIQ.ChannelBundle identified by given bundleId. |
java.util.List<ColibriConferenceIQ.ChannelBundle> |
getChannelBundles()
Returns a list of the ChannelBundles included into this
conference IQ.
|
java.lang.String |
getChildElementXML()
Returns an XML String representation of this IQ.
|
ColibriConferenceIQ.Content |
getContent(java.lang.String contentName)
Returns a Content from the list of Contents of this
conference IQ which has a specific name.
|
java.util.List<ColibriConferenceIQ.Content> |
getContents()
Returns a list of the Contents included into this
conference IQ.
|
java.util.List<ColibriConferenceIQ.Endpoint> |
getEndpoints()
Returns the list of Endpoints included in this
ColibriConferenceIQ.
|
java.lang.String |
getGID() |
java.lang.String |
getID()
Gets the ID of the conference represented by this IQ.
|
java.lang.String |
getName()
The world readable name of the conference.
|
ColibriConferenceIQ.Content |
getOrCreateContent(java.lang.String contentName)
Returns a Content from the list of Contents of this
conference IQ which has a specific name.
|
ColibriConferenceIQ.Recording |
getRecording()
Gets the value of the recording field.
|
ColibriConferenceIQ.RTCPTerminationStrategy |
getRTCPTerminationStrategy() |
boolean |
isGracefulShutdown()
Returns true if graceful shutdown status info is indicated in
this ColibriConferenceIQ instance.
|
boolean |
removeContent(ColibriConferenceIQ.Content content)
Removes a specific
ColibriConferenceIQ.Content instance from the list of
Content instances included into this conference IQ. |
void |
setGID(java.lang.String gid)
Sets the "global" ID of the conference represented by this IQ.
|
void |
setGracefulShutdown(boolean isGracefulShutdown)
Sets whether this IQ should contain the information about graceful
shutdown in progress status.
|
void |
setID(java.lang.String id)
Sets the ID of the conference represented by this IQ.
|
void |
setName(java.lang.String name)
Sets name.
|
void |
setRecording(ColibriConferenceIQ.Recording recording)
Sets the recording field.
|
void |
setRTCPTerminationStrategy(ColibriConferenceIQ.RTCPTerminationStrategy rtcpTerminationStrategy) |
createErrorResponse, createResultIQ, getType, setType, toXML
addExtension, deleteProperty, equals, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensionsXML, getFrom, getPacketID, getProperty, getPropertyNames, getTo, getXmlns, hashCode, nextID, removeExtension, setDefaultXmlns, setError, setFrom, setPacketID, setProperty, setTo
public static final java.lang.String ELEMENT_NAME
public static final java.lang.String ID_ATTR_NAME
public static final java.lang.String GID_ATTR_NAME
public static final java.lang.String NAME_ATTR_NAME
public static final java.lang.String NAMESPACE
public static final int[] NO_SSRCS
public ColibriConferenceIQ()
public static org.jivesoftware.smack.packet.IQ createGracefulShutdownErrorResponse(org.jivesoftware.smack.packet.IQ request)
request
- the IQ for which error response will be created.public boolean addChannelBundle(ColibriConferenceIQ.ChannelBundle channelBundle)
ColibriConferenceIQ.Content
instance to the list of Content
instances included into this conference IQ.channelBundle
- the ChannelBundle to add.public boolean addContent(ColibriConferenceIQ.Content content)
ColibriConferenceIQ.Content
instance to the list of Content
instances included into this conference IQ.content
- the Content instance to be added to this list of
Content instances included into this conference IQjava.lang.NullPointerException
- if the specified content is
nullpublic boolean addContent(java.lang.String contentName)
ColibriConferenceIQ.Content
instance with a specific name and adds
it to the list of Content instances included into this
conference IQ.contentName
- the name which which the new Content instance
is to be initializedpublic void addEndpoint(ColibriConferenceIQ.Endpoint endpoint)
endpoint
- the Endpoint to add.public java.util.List<ColibriConferenceIQ.ChannelBundle> getChannelBundles()
public ColibriConferenceIQ.ChannelBundle getChannelBundle(java.lang.String bundleId)
ColibriConferenceIQ.ChannelBundle
identified by given bundleId.bundleId
- ChannelBundle identifier.ColibriConferenceIQ.ChannelBundle
identified by given bundleId or
null if not found.public java.lang.String getChildElementXML()
getChildElementXML
in class org.jivesoftware.smack.packet.IQ
public ColibriConferenceIQ.Content getContent(java.lang.String contentName)
contentName
- the name of the Content to be returnedpublic java.util.List<ColibriConferenceIQ.Content> getContents()
public java.util.List<ColibriConferenceIQ.Endpoint> getEndpoints()
public java.lang.String getID()
public java.lang.String getGID()
public ColibriConferenceIQ.Content getOrCreateContent(java.lang.String contentName)
contentName
- the name of the Content to be returnedpublic ColibriConferenceIQ.Recording getRecording()
public ColibriConferenceIQ.RTCPTerminationStrategy getRTCPTerminationStrategy()
public boolean removeContent(ColibriConferenceIQ.Content content)
ColibriConferenceIQ.Content
instance from the list of
Content instances included into this conference IQ.content
- the Content instance to be removed from the list
of Content instances included into this conference IQpublic void setID(java.lang.String id)
id
- the value to set.public void setGID(java.lang.String gid)
gid
- the value to set.public void setRecording(ColibriConferenceIQ.Recording recording)
recording
- the value to set.public void setRTCPTerminationStrategy(ColibriConferenceIQ.RTCPTerminationStrategy rtcpTerminationStrategy)
public void setGracefulShutdown(boolean isGracefulShutdown)
isGracefulShutdown
- true if graceful shutdown status
should be indicated in this IQ.public boolean isGracefulShutdown()
public java.lang.String getName()
public void setName(java.lang.String name)
name
- the name to set.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.