|
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.CandidatePacketExtension
public class CandidatePacketExtension
| Field Summary | |
|---|---|
static String |
COMPONENT_ATTR_NAME
The name of the "component" element. |
static String |
ELEMENT_NAME
The name of the "candidate" element. |
static String |
FOUNDATION_ATTR_NAME
The name of the "foundation" element. |
static String |
GENERATION_ATTR_NAME
The name of the "generation" element. |
static String |
ID_ATTR_NAME
The name of the "id" element. |
static String |
IP_ATTR_NAME
The name of the "ip" element. |
static String |
NETWORK_ATTR_NAME
The name of the "network" element. |
static String |
PORT_ATTR_NAME
The name of the "port" element. |
static String |
PRIORITY_ATTR_NAME
The name of the "priority" element. |
static String |
PROTOCOL_ATTR_NAME
The name of the "protocol" element. |
static String |
REL_ADDR_ATTR_NAME
The name of the "rel-addr" element. |
static String |
REL_PORT_ATTR_NAME
The name of the "rel-port" element. |
static int |
RTCP_COMPONENT_ID
The "component" ID for RTP components. |
static int |
RTP_COMPONENT_ID
The "component" ID for RTP components. |
static String |
TYPE_ATTR_NAME
The name of the "type" element. |
| Fields inherited from class net.java.sip.communicator.impl.protocol.jabber.extensions.AbstractPacketExtension |
|---|
attributes |
| Constructor Summary | |
|---|---|
|
CandidatePacketExtension()
Creates a new CandidatePacketExtension |
protected |
CandidatePacketExtension(String elementName)
Creates a new CandidatePacketExtension with the specified
elementName so that this class would be usable as a
RemoteCandidatePacketExtension parent. |
| Method Summary | |
|---|---|
int |
getComponent()
Returns a component ID as defined in ICE-CORE. |
int |
getFoundation()
Returns the candidate foundation as defined in ICE-CORE. |
int |
getGeneration()
Returns this canditate's generation. |
String |
getID()
Returns this candidates's unique identifier String. |
String |
getIP()
Returns this candidate's Internet Protocol (IP) address; this can be either an IPv4 address or an IPv6 address. |
int |
getNetwork()
Returns the network index indicating the interface that the candidate belongs to. |
int |
getPort()
Returns this candidate's port number. |
int |
getPriority()
This candidate's priority as defined in ICE's RFC 5245 |
String |
getProtocol()
Sets this candidate's transport protocol. |
String |
getRelAddr()
Returns this candidate's related address as described by ICE's RFC 5245. |
int |
getRelPort()
Returns this candidate's related port as described by ICE's RFC 5245. |
CandidateType |
getType()
Returns a Candidate Type as defined in ICE-CORE. |
void |
setComponent(int component)
Sets a component ID as defined in ICE-CORE. |
void |
setFoundation(int foundation)
Sets the candidate foundation as defined in ICE-CORE. |
void |
setGeneration(int generation)
Sets this canditate's generation index. |
void |
setID(String id)
Sets this candidates's unique identifier String. |
void |
setIP(String ip)
Sets this candidate's Internet Protocol (IP) address; this can be either an IPv4 address or an IPv6 address. |
void |
setNetwork(int network)
The network index indicating the interface that the candidate belongs to. |
void |
setPort(int port)
Sets this candidate's port number. |
void |
setPriority(long priority)
This candidate's priority as defined in ICE's RFC 5245 |
void |
setProtocol(String protocol)
Sets this candidate's transport protocol. |
void |
setRelAddr(String relAddr)
Sets this candidate's related address as described by ICE's RFC 5245. |
void |
setRelPort(int relPort)
Sets this candidate's related port as described by ICE's RFC 5245. |
void |
setType(CandidateType type)
Sets a Candidate Type as defined in ICE-CORE. |
| 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 COMPONENT_ATTR_NAME
public static final int RTP_COMPONENT_ID
public static final int RTCP_COMPONENT_ID
public static final String FOUNDATION_ATTR_NAME
public static final String GENERATION_ATTR_NAME
public static final String ID_ATTR_NAME
public static final String IP_ATTR_NAME
public static final String NETWORK_ATTR_NAME
public static final String PORT_ATTR_NAME
public static final String PRIORITY_ATTR_NAME
public static final String PROTOCOL_ATTR_NAME
public static final String REL_ADDR_ATTR_NAME
public static final String REL_PORT_ATTR_NAME
public static final String TYPE_ATTR_NAME
| Constructor Detail |
|---|
public CandidatePacketExtension()
CandidatePacketExtension
protected CandidatePacketExtension(String elementName)
CandidatePacketExtension with the specified
elementName so that this class would be usable as a
RemoteCandidatePacketExtension parent.
elementName - the element name that this instance should be using.| Method Detail |
|---|
public void setComponent(int component)
component - a component ID as defined in ICE-CORE.public int getComponent()
public void setFoundation(int foundation)
foundation - the candidate foundation as defined in ICE-CORE.public int getFoundation()
public void setGeneration(int generation)
generation - this canditate's generation index.public int getGeneration()
public void setID(String id)
id - this candidates's unique identifier Stringpublic String getID()
public void setIP(String ip)
ip - this candidate's IPv4 or IPv6 address.public String getIP()
public void setNetwork(int network)
network - the network index indicating the interface that the
candidate belongs to.public int getNetwork()
public void setPort(int port)
port - this candidate's port number.public int getPort()
public void setPriority(long priority)
priority - this candidate's prioritypublic int getPriority()
public void setProtocol(String protocol)
protocol - this candidate's transport protocol.public String getProtocol()
public void setRelAddr(String relAddr)
relAddr - this candidate's related address as described by ICE's
RFC 5245.public String getRelAddr()
public void setRelPort(int relPort)
relPort - this candidate's related port as described by ICE's
RFC 5245.public int getRelPort()
public void setType(CandidateType type)
CandidateType enum.
type - this candidates' type as per ICE's RFC 5245.public CandidateType getType()
CandidateType enum.
|
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 | |||||||||