public static class ColibriConferenceIQ.SctpConnection extends ColibriConferenceIQ.ChannelCommon
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELEMENT_NAME
The XML element name of a content of a Jitsi Videobridge
conference IQ.
|
static java.lang.String |
PORT_ATTR_NAME
The XML name of the port attribute of a
SctpConnection of a conference IQ which represents
the SCTP port property of
ColibriConferenceIQ.SctpConnection.
|
CHANNEL_BUNDLE_ID_ATTR_NAME, ENDPOINT_ATTR_NAME, EXPIRE_ATTR_NAME, EXPIRE_NOT_SPECIFIED, ID_ATTR_NAME, INITIATOR_ATTR_NAME
Constructor and Description |
---|
SctpConnection()
Initializes a new SctpConnection instance without an
endpoint name and with default port value set.
|
Modifier and Type | Method and Description |
---|---|
int |
getPort()
Gets the SCTP port of the SctpConnection described by this
instance.
|
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 |
setPort(int port)
Sets the SCTP port of the SctpConnection represented by this
instance.
|
getChannelBundleId, getEndpoint, getExpire, getID, getTransport, isInitiator, setChannelBundleId, setEndpoint, setExpire, setID, setInitiator, setTransport, toXML
public static final java.lang.String ELEMENT_NAME
public static final java.lang.String PORT_ATTR_NAME
public SctpConnection()
public int getPort()
protected boolean hasContent()
ColibriConferenceIQ.ChannelCommon.printContent(StringBuilder)
method will be called when
XML representation of this IQ is being constructed.
No content other than transport for SctpConnection.hasContent
in class ColibriConferenceIQ.ChannelCommon
protected void printAttributes(java.lang.StringBuilder xml)
printAttributes
in class ColibriConferenceIQ.ChannelCommon
xml
- protected void printContent(java.lang.StringBuilder xml)
ColibriConferenceIQ.ChannelCommon
ColibriConferenceIQ.ChannelCommon.hasContent()
returns true.printContent
in class ColibriConferenceIQ.ChannelCommon
xml
- the StringBuilder to which the XML
String representation of this Channel
is to be appended.public void setPort(int port)
port
- the SCTP port of the SctpConnection
represented by this instance
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.