|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<CandidateType>
net.java.sip.communicator.impl.protocol.jabber.extensions.jingle.CandidateType
public enum CandidateType
An enumeration containing allowed types for CandidatePacketExtensions.
| Enum Constant Summary | |
|---|---|
host
Indicates that a candidate is a Host Candidate: A candidate obtained by binding to a specific port from an IP address on the host. |
|
local
Old name for Host Candidate used by Google Talk. |
|
prflx
Indicates that a candidate is a Peer Reflexive Candidate: A candidate whose IP address and port are a binding allocated by a NAT for an agent when it sent a STUN Binding request through the NAT to its peer. |
|
relay
Indicates that a candidate is a Relayed Candidate: A candidate obtained by sending a TURN Allocate request from a host candidate to a TURN server. |
|
srflx
Indicates that a candidate is a Server Reflexive Candidate: A candidate whose IP address and port are a binding allocated by a NAT for an agent when it sent a packet through the NAT to a server. |
|
stun
Old name for Server Reflexive Candidate used by Google Talk. |
|
| Method Summary | |
|---|---|
static CandidateType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CandidateType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final CandidateType host
public static final CandidateType prflx
public static final CandidateType relay
public static final CandidateType srflx
public static final CandidateType stun
public static final CandidateType local
| Method Detail |
|---|
public static CandidateType[] values()
for (CandidateType c : CandidateType.values()) System.out.println(c);
public static CandidateType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||