public enum CandidateExtendedType extends Enum<CandidateExtendedType>
Enum Constant and Description |
---|
GOOGLE_TCP_TURN_RELAYED_CANDIDATE
The candidate is discovered by using TURN relayed method and using TCP
(cf.
|
GOOGLE_TURN_RELAYED_CANDIDATE
The candidate is discovered by using TURN relayed method (cf.
|
HOST_CANDIDATE
There candidate is discovered directly by the host.
|
JINGLE_NODE_CANDIDATE
The candidate is discovered by using JINGLE NODE method (cf.
|
STATICALLY_MAPPED_CANDIDATE
The candidate is discovered through the use of a static mask (probably
obtained through configuration).
|
STUN_PEER_REFLEXIVE_CANDIDATE
There candidate is discovered by using STUN peer reflexive method (cf.
|
STUN_SERVER_REFLEXIVE_CANDIDATE
The candidate is discovered by using STUN server reflexive method (cf.
|
TURN_RELAYED_CANDIDATE
The candidate is discovered by using TURN relayed method (cf.
|
UPNP_CANDIDATE
The candidate is discovered by using UPNP method.
|
Modifier and Type | Field and Description |
---|---|
private String |
extendedTypeName
The name of this CandidateExtendedType instance.
|
Modifier and Type | Method and Description |
---|---|
static CandidateExtendedType |
parse(String extendedTypeName)
Returns a CandidateExtendedType instance corresponding to the
specified extendedTypeName.
|
String |
toString()
Returns the name of this CandidateExtendedType (e.g.
|
static CandidateExtendedType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CandidateExtendedType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CandidateExtendedType HOST_CANDIDATE
public static final CandidateExtendedType UPNP_CANDIDATE
public static final CandidateExtendedType STATICALLY_MAPPED_CANDIDATE
public static final CandidateExtendedType STUN_PEER_REFLEXIVE_CANDIDATE
public static final CandidateExtendedType STUN_SERVER_REFLEXIVE_CANDIDATE
public static final CandidateExtendedType TURN_RELAYED_CANDIDATE
public static final CandidateExtendedType GOOGLE_TURN_RELAYED_CANDIDATE
public static final CandidateExtendedType GOOGLE_TCP_TURN_RELAYED_CANDIDATE
public static final CandidateExtendedType JINGLE_NODE_CANDIDATE
private final String extendedTypeName
public static CandidateExtendedType[] values()
for (CandidateExtendedType c : CandidateExtendedType.values()) System.out.println(c);
public static CandidateExtendedType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<CandidateExtendedType>
public static CandidateExtendedType parse(String extendedTypeName) throws IllegalArgumentException
HOST_CANDIDATE
.extendedTypeName
- the name that we'd like to parse.IllegalArgumentException
- in case extendedTypeName is
not a valid or currently supported candidate extended type.Copyright © 2018. All rights reserved.