|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.protocol.jabber.extensions.AbstractPacketExtension
net.java.sip.communicator.impl.protocol.jabber.extensions.jingle.ContentPacketExtension
public class ContentPacketExtension
The Jingle "content" element contains the entire description of the session being initiated. Among other things it contains details such as transport, or (in the case of RTP) payload type list.
| Nested Class Summary | |
|---|---|
static class |
ContentPacketExtension.CreatorEnum
The values we currently support for the creator field. |
static class |
ContentPacketExtension.SendersEnum
The values we currently support for the senders field. |
| Field Summary | |
|---|---|
static String |
CREATOR_ATTR_NAME
The name of the "creator" argument. |
static String |
DISPOSITION_ATTR_NAME
The name of the "disposition" argument. |
static String |
ELEMENT_NAME
The name of the "content" element. |
static String |
NAME_ATTR_NAME
The name of the "name" argument. |
static String |
SENDERS_ATTR_NAME
The name of the "senders" argument. |
| Fields inherited from class net.java.sip.communicator.impl.protocol.jabber.extensions.AbstractPacketExtension |
|---|
attributes |
| Constructor Summary | |
|---|---|
ContentPacketExtension()
Creates a new ContentPacketExtension. |
|
ContentPacketExtension(ContentPacketExtension.CreatorEnum creator,
String name)
Creates a new ContentPacketExtension instance with the specified parameters. |
|
ContentPacketExtension(ContentPacketExtension.CreatorEnum creator,
String disposition,
String name,
ContentPacketExtension.SendersEnum senders)
Creates a new ContentPacketExtension. |
|
| Method Summary | |
|---|---|
ContentPacketExtension.CreatorEnum |
getCreator()
Returns the value of the creator argument. |
String |
getDisposition()
Returns the value of the disposition argument if it exists or null if it doesn't. |
String |
getName()
Returns the value of the name argument if it exists or null if it doesn't. |
ContentPacketExtension.SendersEnum |
getSenders()
Returns the value of the senders argument which indicates the parties that will be generating content in this session; the allowable values are defined in the SendersEnum. |
void |
setCreator(ContentPacketExtension.CreatorEnum creator)
Sets the value of the creator argument. |
void |
setDisposition(String disposition)
Sets the value of the disposition argument if it exists or null if it doesn't. |
void |
setName(String name)
Sets the value of the name argument if it exists or null if it doesn't. |
void |
setSenders(ContentPacketExtension.SendersEnum senders)
Sets the value of the senders argument which indicates the parties that will be generating content in this session; the allowable values are defined in the SendersEnum. |
| Methods inherited from class net.java.sip.communicator.impl.protocol.jabber.extensions.AbstractPacketExtension |
|---|
addChildExtension, getAttribute, getAttributeAsInt, getAttributeAsInt, getAttributeAsString, getAttributeAsURI, getAttributeNames, getChildExtensions, getChildExtensionsOfType, getElementName, getFirstChildOfType, getNamespace, getText, removeAttribute, setAttribute, setNamespace, setText, toXML |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ELEMENT_NAME
public static final String CREATOR_ATTR_NAME
public static final String DISPOSITION_ATTR_NAME
public static final String NAME_ATTR_NAME
public static final String SENDERS_ATTR_NAME
| Constructor Detail |
|---|
public ContentPacketExtension()
public ContentPacketExtension(ContentPacketExtension.CreatorEnum creator,
String disposition,
String name,
ContentPacketExtension.SendersEnum senders)
creator - indicates which party originally generated the content
typedisposition - indicates how the content definition is to be
interpreted by the recipientname - the content type according to the creatorsenders - the parties in the session will be generating content.
public ContentPacketExtension(ContentPacketExtension.CreatorEnum creator,
String name)
creator - indicates which party originally generated the content
type
interpreted by the recipientname - the content type according to the creator| Method Detail |
|---|
public ContentPacketExtension.CreatorEnum getCreator()
public void setCreator(ContentPacketExtension.CreatorEnum creator)
creator - the value of this content's creator argument.public String getDisposition()
public void setDisposition(String disposition)
disposition - the value of this content's disposition argument.public String getName()
public void setName(String name)
name - the value of this content's name argument.public ContentPacketExtension.SendersEnum getSenders()
ContentPacketExtension.SendersEnum instance indicating the the parties that
will be generating content in this session.public void setSenders(ContentPacketExtension.SendersEnum senders)
senders - a ContentPacketExtension.SendersEnum instance indicating the the parties
that will be generating content in this session.
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||