public class ServerPacketExtension extends AbstractPacketExtension
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELEMENT_NAME
The element name.
|
static java.lang.String |
HOST_ATTR_NAME
Host attribute name.
|
static java.lang.String |
NAMESPACE
The namespace.
|
static java.lang.String |
SSL_ATTR_NAME
SSL attribute name.
|
static java.lang.String |
TCP_ATTR_NAME
TCP attribute name.
|
static java.lang.String |
UDP_ATTR_NAME
UDP attribute name.
|
attributes
Constructor and Description |
---|
ServerPacketExtension()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHost()
Returns the host address.
|
int |
getSsl()
Returns the SSL port.
|
int |
getTcp()
Returns the TCP port.
|
int |
getUdp()
Returns the UDP port.
|
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 NAMESPACE
public static final java.lang.String ELEMENT_NAME
public static final java.lang.String HOST_ATTR_NAME
public static final java.lang.String TCP_ATTR_NAME
public static final java.lang.String UDP_ATTR_NAME
public static final java.lang.String SSL_ATTR_NAME
public java.lang.String getHost()
public int getUdp()
public int getTcp()
public int getSsl()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.