|
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
net.java.sip.communicator.impl.protocol.jabber.extensions.gtalk.GTalkCandidatePacketExtension
public class GTalkCandidatePacketExtension
Google Talk version of Candidate packet extension.
| Field Summary | |
|---|---|
static String |
ADDRESS_ATTR_NAME
Address attribute name. |
static String |
AUDIO_RTCP_NAME
Name for candidate audio RTCP. |
static String |
AUDIO_RTP_NAME
Name for candidate audio RTP. |
static String |
NAME_ATTR_NAME
Name attribute name. |
static String |
PASSWORD_ATTR_NAME
Password attribute name. |
static String |
PREFERENCE_ATTR_NAME
The name of the "preference" element. |
static String |
USERNAME_ATTR_NAME
Username attribute name. |
static String |
VIDEO_RTCP_NAME
Name for candidate video RTCP. |
static String |
VIDEO_RTP_NAME
Name for candidate video RTP. |
| Fields inherited from class net.java.sip.communicator.impl.protocol.jabber.extensions.jingle.CandidatePacketExtension |
|---|
COMPONENT_ATTR_NAME, ELEMENT_NAME, FOUNDATION_ATTR_NAME, GENERATION_ATTR_NAME, ID_ATTR_NAME, IP_ATTR_NAME, NETWORK_ATTR_NAME, PORT_ATTR_NAME, PRIORITY_ATTR_NAME, PROTOCOL_ATTR_NAME, REL_ADDR_ATTR_NAME, REL_PORT_ATTR_NAME, RTCP_COMPONENT_ID, RTP_COMPONENT_ID, TYPE_ATTR_NAME |
| Fields inherited from class net.java.sip.communicator.impl.protocol.jabber.extensions.AbstractPacketExtension |
|---|
attributes |
| Constructor Summary | |
|---|---|
GTalkCandidatePacketExtension()
Constructs a new GTalkCandidatePacketExtension. |
|
| Method Summary | |
|---|---|
String |
getAddress()
Returns this candidate's Internet Protocol (IP) address; this can be either an IPv4 address or an IPv6 address. |
String |
getName()
Returns this candidate's name. |
String |
getPassword()
Returns this candidate's password. |
double |
getPreference()
Returns this candidate's preference. |
String |
getUsername()
Returns this candidate's username. |
void |
setAddress(String ip)
Sets this candidate's Internet Protocol (IP) address; this can be either an IPv4 address or an IPv6 address. |
void |
setName(String name)
Sets this candidate's name. |
void |
setPassword(String password)
Sets this candidate's password. |
void |
setPreference(double preference)
Sets this candidate's preference. |
void |
setType(String type)
Sets a Candidate Type as defined in ICE-CORE. |
void |
setUsername(String username)
Sets this candidate's username. |
| Methods inherited from class net.java.sip.communicator.impl.protocol.jabber.extensions.jingle.CandidatePacketExtension |
|---|
getComponent, getFoundation, getGeneration, getID, getIP, getNetwork, getPort, getPriority, getProtocol, getRelAddr, getRelPort, getType, setComponent, setFoundation, setGeneration, setID, setIP, setNetwork, setPort, setPriority, setProtocol, setRelAddr, setRelPort, setType |
| 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 ADDRESS_ATTR_NAME
public static final String PREFERENCE_ATTR_NAME
public static final String NAME_ATTR_NAME
public static final String USERNAME_ATTR_NAME
public static final String PASSWORD_ATTR_NAME
public static final String AUDIO_RTP_NAME
public static final String AUDIO_RTCP_NAME
public static final String VIDEO_RTP_NAME
public static final String VIDEO_RTCP_NAME
| Constructor Detail |
|---|
public GTalkCandidatePacketExtension()
| Method Detail |
|---|
public void setType(String type)
type - this candidates' type as per ICE's Google dialect.public void setName(String name)
name - this candidate's namepublic String getName()
public void setPreference(double preference)
preference - this candidate's preferencepublic double getPreference()
public void setUsername(String username)
username - this candidate's usernamepublic String getUsername()
public void setPassword(String password)
password - this candidate's passwordpublic String getPassword()
public void setAddress(String ip)
ip - this candidate's IPv4 or IPv6 address.public String getAddress()
|
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 | |||||||||