public static class RayoIqProvider.DialIq extends RayoIqProvider.RayoIq
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DST_ATTR_NAME
The name of destination URI/address attribute.
|
static java.lang.String |
ELEMENT_NAME
The name of XML element for this IQ.
|
static java.lang.String |
SRC_ATTR_NAME
The name of source URI/address attribute.
|
Constructor and Description |
---|
DialIq()
Creates new instance of DialIq.
|
Modifier and Type | Method and Description |
---|---|
static RayoIqProvider.DialIq |
create(java.lang.String to,
java.lang.String from)
Creates new DialIq for given source and destination
addresses.
|
java.lang.String |
getDestination()
Returns destination address/call URI associated with this instance.
|
java.lang.String |
getSource()
Return source address value set on this DialIq.
|
protected void |
printAttributes(java.lang.StringBuilder out)
Implementing classes should print their attributes if any in XML
format to given out StringBuilder.
|
void |
setDestination(java.lang.String destination)
Sets new destination address/call URI on this DialIq.
|
void |
setSource(java.lang.String source)
Sets new source address value on this DialIq.
|
getChildElementXML, getHeader, setHeader
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 SRC_ATTR_NAME
IQ
class.public static final java.lang.String DST_ATTR_NAME
IQ
class.public static RayoIqProvider.DialIq create(java.lang.String to, java.lang.String from)
to
- the destination address/call URI to be used.from
- the source address that will be set on
new DialIq instance.public java.lang.String getSource()
public void setSource(java.lang.String source)
source
- the new source address value to be set.public java.lang.String getDestination()
public void setDestination(java.lang.String destination)
destination
- the new destination address/call URI to set.protected void printAttributes(java.lang.StringBuilder out)
printAttributes
in class RayoIqProvider.RayoIq
out
- the StringBuilder instance used to construct XML
representation of this element.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.