Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.protocol.jabber.extensions.jingle
Class RTPHdrExtPacketExtension

java.lang.Object
  extended by net.java.sip.communicator.impl.protocol.jabber.extensions.AbstractPacketExtension
      extended by net.java.sip.communicator.impl.protocol.jabber.extensions.jingle.RTPHdrExtPacketExtension
All Implemented Interfaces:
org.jivesoftware.smack.packet.PacketExtension

public class RTPHdrExtPacketExtension
extends AbstractPacketExtension

RTP header extension.

Author:
Sebastien Vincent

Field Summary
static String ATTRIBUTES_ATTR_NAME
          The name of the attributes attribute in the extmap element.
static String ELEMENT_NAME
          The name of the "candidate" element.
static String ID_ATTR_NAME
          The name of the ID attribute.
static String NAMESPACE
          The namespace.
static String SENDERS_ATTR_NAME
          The name of the senders attribute.
static String URI_ATTR_NAME
          The name of the URI attribute.
 
Fields inherited from class net.java.sip.communicator.impl.protocol.jabber.extensions.AbstractPacketExtension
attributes
 
Constructor Summary
RTPHdrExtPacketExtension()
          Constructor.
 
Method Summary
 String getAttributes()
          Get "attributes" value.
 String getID()
          Get the ID.
 ContentPacketExtension.SendersEnum getSenders()
          Get the direction.
 URI getURI()
          Get the URI.
 void setAttributes(String attributes)
          Set attributes.
 void setID(String id)
          Set the ID.
 void setSenders(ContentPacketExtension.SendersEnum senders)
          Set the direction.
 void setURI(URI uri)
          Set the URI.
 
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

NAMESPACE

public static final String NAMESPACE
The namespace.

See Also:
Constant Field Values

ELEMENT_NAME

public static final String ELEMENT_NAME
The name of the "candidate" element.

See Also:
Constant Field Values

ID_ATTR_NAME

public static final String ID_ATTR_NAME
The name of the ID attribute.

See Also:
Constant Field Values

SENDERS_ATTR_NAME

public static final String SENDERS_ATTR_NAME
The name of the senders attribute.

See Also:
Constant Field Values

URI_ATTR_NAME

public static final String URI_ATTR_NAME
The name of the URI attribute.

See Also:
Constant Field Values

ATTRIBUTES_ATTR_NAME

public static final String ATTRIBUTES_ATTR_NAME
The name of the attributes attribute in the extmap element.

See Also:
Constant Field Values
Constructor Detail

RTPHdrExtPacketExtension

public RTPHdrExtPacketExtension()
Constructor.

Method Detail

setID

public void setID(String id)
Set the ID.

Parameters:
id - ID to set

getID

public String getID()
Get the ID.

Returns:
the ID

setSenders

public void setSenders(ContentPacketExtension.SendersEnum senders)
Set the direction.

Parameters:
senders - the direction

getSenders

public ContentPacketExtension.SendersEnum getSenders()
Get the direction.

Returns:
the direction

setURI

public void setURI(URI uri)
Set the URI.

Parameters:
uri - URI to set

getURI

public URI getURI()
Get the URI.

Returns:
the URI

setAttributes

public void setAttributes(String attributes)
Set attributes.

Parameters:
attributes - attributes value

getAttributes

public String getAttributes()
Get "attributes" value.

Returns:
"attributes" value

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.