public class TransferPacketExtension extends AbstractPacketExtension
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELEMENT_NAME
The name of the "transfer" element.
|
static java.lang.String |
FROM_ATTR_NAME
The name of the "from" attribute of the "transfer" element.
|
static java.lang.String |
NAMESPACE
The namespace of the "transfer" element.
|
static java.lang.String |
SID_ATTR_NAME
The name of the "sid" attribute of the "transfer" element.
|
static java.lang.String |
TO_ATTR_NAME
The name of the "to" attribute of the "transfer" element.
|
attributes
Constructor and Description |
---|
TransferPacketExtension()
Initializes a new TransferPacketExtension instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFrom()
Gets the value of the "from" attribute of this "transfer" element.
|
java.lang.String |
getSID()
Gets the value of the "sid" attribute of this "transfer" element.
|
java.lang.String |
getTo()
Gets the value of the "to" attribute of this "transfer" element.
|
void |
setFrom(java.lang.String from)
Sets the value of the "from" attribute of this "transfer" element.
|
void |
setSID(java.lang.String sid)
Sets the value of the "sid" attribute of this "transfer" element.
|
void |
setTo(java.lang.String to)
Sets the value of the "to" attribute of this "transfer" element.
|
addChildExtension, addPacket, clone, getAttribute, getAttributeAsInt, getAttributeAsInt, getAttributeAsString, getAttributeAsURI, getAttributeNames, getChildExtensions, 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 FROM_ATTR_NAME
public static final java.lang.String NAMESPACE
public static final java.lang.String SID_ATTR_NAME
public static final java.lang.String TO_ATTR_NAME
public TransferPacketExtension()
public java.lang.String getFrom()
public void setFrom(java.lang.String from)
from
- the value of the "from" attribute of this "transfer" elementpublic java.lang.String getSID()
public void setSID(java.lang.String sid)
sid
- the value of the "sid" attribute of this "transfer" elementpublic java.lang.String getTo()
public void setTo(java.lang.String to)
to
- the value of the "to" attribute of this "transfer" element
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.