Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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

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.SessionInfoPacketExtension
All Implemented Interfaces:
org.jivesoftware.smack.packet.PacketExtension
Direct Known Subclasses:
MuteSessionInfoPacketExtension

public class SessionInfoPacketExtension
extends AbstractPacketExtension

Represents session-info elements such as active, ringing, or hold for example.

Author:
Emil Ivov

Field Summary
static String NAMESPACE
          The name space for RTP description elements.
 
Fields inherited from class net.java.sip.communicator.impl.protocol.jabber.extensions.AbstractPacketExtension
attributes
 
Constructor Summary
SessionInfoPacketExtension(SessionInfoType type)
          Creates a new info element of the specified type.
 
Method Summary
 SessionInfoType getType()
          Returns the exact type of this SessionInfoPacketExtension.
 
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 name space for RTP description elements.

See Also:
Constant Field Values
Constructor Detail

SessionInfoPacketExtension

public SessionInfoPacketExtension(SessionInfoType type)
Creates a new info element of the specified type.

Parameters:
type - the name of the element we'd like to create (mute, active, hold);
Method Detail

getType

public SessionInfoType getType()
Returns the exact type of this SessionInfoPacketExtension.

Returns:
the SessionInfoType of this extension.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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