Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.protocol.jabber.extensions.jingleinfo
Class ServerPacketExtension

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

public class ServerPacketExtension
extends AbstractPacketExtension

Server packet extension.

Author:
Sebastien Vincent

Field Summary
static String ELEMENT_NAME
          The element name.
static String HOST_ATTR_NAME
          Host attribute name.
static String NAMESPACE
          The namespace.
static String SSL_ATTR_NAME
          SSL attribute name.
static String TCP_ATTR_NAME
          TCP attribute name.
static String UDP_ATTR_NAME
          UDP attribute name.
 
Fields inherited from class net.java.sip.communicator.impl.protocol.jabber.extensions.AbstractPacketExtension
attributes
 
Constructor Summary
ServerPacketExtension()
          Constructor.
 
Method Summary
 String getHost()
          Returns the host address.
 int getSsl()
          Returns the SSL port.
 int getTcp()
          Returns the TCP port.
 int getUdp()
          Returns the UDP port.
 
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.


ELEMENT_NAME

public static final String ELEMENT_NAME
The element name.

See Also:
Constant Field Values

HOST_ATTR_NAME

public static final String HOST_ATTR_NAME
Host attribute name.

See Also:
Constant Field Values

TCP_ATTR_NAME

public static final String TCP_ATTR_NAME
TCP attribute name.

See Also:
Constant Field Values

UDP_ATTR_NAME

public static final String UDP_ATTR_NAME
UDP attribute name.

See Also:
Constant Field Values

SSL_ATTR_NAME

public static final String SSL_ATTR_NAME
SSL attribute name.

See Also:
Constant Field Values
Constructor Detail

ServerPacketExtension

public ServerPacketExtension()
Constructor.

Method Detail

getHost

public String getHost()
Returns the host address.

Returns:
this host address

getUdp

public int getUdp()
Returns the UDP port.

Returns:
the UDP port

getTcp

public int getTcp()
Returns the TCP port.

Returns:
the TCP port

getSsl

public int getSsl()
Returns the SSL port.

Returns:
the SSL port

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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