public static class ColibriConferenceIQ.OctoChannel extends ColibriConferenceIQ.Channel
ColibriConferenceIQ.Channel
of type "octo".Modifier and Type | Field and Description |
---|---|
static java.lang.String |
RELAY_ELEMENT_NAME
The name of the "relay" child element of an
ColibriConferenceIQ.OctoChannel . |
static java.lang.String |
RELAY_ID_ATTR_NAME
The name of the "id" attribute of child elements with name "relay".
|
static java.lang.String |
TYPE
The value of the "type" attribute which corresponds to Octo channels.
|
DIRECTION_ATTR_NAME, ELEMENT_NAME, HOST_ATTR_NAME, LAST_N_ATTR_NAME, PACKET_DELAY_ATTR_NAME, RECEIVING_SIMULCAST_LAYER, RTCP_PORT_ATTR_NAME, RTP_LEVEL_RELAY_TYPE_ATTR_NAME, RTP_PORT_ATTR_NAME, SIMULCAST_MODE_ATTR_NAME, SSRC_ELEMENT_NAME, TYPE_ATTR_NAME
CHANNEL_BUNDLE_ID_ATTR_NAME, ENDPOINT_ATTR_NAME, EXPIRE_ATTR_NAME, EXPIRE_NOT_SPECIFIED, ID_ATTR_NAME, INITIATOR_ATTR_NAME
Constructor and Description |
---|
OctoChannel() |
Modifier and Type | Method and Description |
---|---|
void |
addRelay(java.lang.String relay)
Adds a relay to this
ColibriConferenceIQ.OctoChannel . |
java.util.List<java.lang.String> |
getRelays() |
protected boolean |
hasContent()
Indicates whether there are some contents that should be printed as
child elements of this IQ.
|
protected void |
printAttributes(java.lang.StringBuilder xml)
Derived class implements this method in order to print additional
attributes to main XML element.
|
protected void |
printContent(java.lang.StringBuilder xml)
Implement in order to print content child elements of this IQ using
given StringBuilder.
|
void |
removeRelay(java.lang.String relay)
Removes a relay from this
ColibriConferenceIQ.OctoChannel . |
void |
setRelays(java.util.List<java.lang.String> relays)
Sets the list of relays of this
ColibriConferenceIQ.OctoChannel . |
addPayloadType, addRtpHeaderExtension, addSource, addSourceGroup, addSSRC, getDirection, getHost, getLastN, getPacketDelay, getPayloadTypes, getReceivingSimulcastLayer, getRTCPPort, getRtpHeaderExtensions, getRTPLevelRelayType, getRTPPort, getSimulcastMode, getSourceGroups, getSources, getSSRCs, removePayloadType, removeRtpHeaderExtension, removeSource, removeSSRC, setDirection, setHost, setLastN, setPacketDelay, setReceivingSimulcastLayer, setRTCPPort, setRTPLevelRelayType, setRTPLevelRelayType, setRTPPort, setSimulcastMode, setSSRCs
getChannelBundleId, getEndpoint, getExpire, getID, getTransport, isInitiator, setChannelBundleId, setEndpoint, setExpire, setID, setInitiator, setTransport, toXML
public static final java.lang.String TYPE
public static final java.lang.String RELAY_ELEMENT_NAME
ColibriConferenceIQ.OctoChannel
.public static final java.lang.String RELAY_ID_ATTR_NAME
public void setRelays(java.util.List<java.lang.String> relays)
ColibriConferenceIQ.OctoChannel
.relays
- the ids of the relays to set.public java.util.List<java.lang.String> getRelays()
ColibriConferenceIQ.OctoChannel
.public void addRelay(java.lang.String relay)
ColibriConferenceIQ.OctoChannel
.relay
- the id of the relay to add.public void removeRelay(java.lang.String relay)
ColibriConferenceIQ.OctoChannel
.relay
- the id of the relay to remove.protected boolean hasContent()
ColibriConferenceIQ.ChannelCommon.printContent(StringBuilder)
method will be called when
XML representation of this IQ is being constructed.hasContent
in class ColibriConferenceIQ.Channel
protected void printAttributes(java.lang.StringBuilder xml)
printAttributes
in class ColibriConferenceIQ.Channel
xml
- protected void printContent(java.lang.StringBuilder xml)
ColibriConferenceIQ.ChannelCommon.hasContent()
returns true.printContent
in class ColibriConferenceIQ.Channel
xml
- the StringBuilder to which the XML
String representation of this Channel
is to be appended.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.