-
- All Implemented Interfaces:
-
java.io.Serializable,java.lang.Comparable
public enum CandidateExtendedTypeEnumeration which lists the different available methods used to discover new candidates.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description JINGLE_NODE_CANDIDATEThe candidate is discovered by using JINGLE NODE method (cf. XEP-0278).
GOOGLE_TCP_TURN_RELAYED_CANDIDATEThe candidate is discovered by using TURN relayed method and using TCP (cf. RFC5766).
GOOGLE_TURN_RELAYED_CANDIDATEThe candidate is discovered by using TURN relayed method (cf. RFC5766).
TURN_RELAYED_CANDIDATEThe candidate is discovered by using TURN relayed method (cf. RFC5766).
STUN_SERVER_REFLEXIVE_CANDIDATEThe candidate is discovered by using STUN server reflexive method (cf. RFC5389).
STUN_PEER_REFLEXIVE_CANDIDATEThere candidate is discovered by using STUN peer reflexive method (cf. RFC5389).
STATICALLY_MAPPED_CANDIDATEThe candidate is discovered through the use of a static mask (probably obtained through configuration).
UPNP_CANDIDATEThe candidate is discovered by using UPNP method.
HOST_CANDIDATEThere candidate is discovered directly by the host.
-
Method Summary
Modifier and Type Method Description StringtoString()Returns the name of this CandidateExtendedType (e.g. static CandidateExtendedTypeparse(String extendedTypeName)Returns a CandidateExtendedType instance corresponding to the specified extendedTypeName. static Array<CandidateExtendedType>values()static CandidateExtendedTypevalueOf(String name)-
-
Method Detail
-
toString
String toString()
Returns the name of this CandidateExtendedType (e.g. "host", "upnp", "stun peer reflexive", "stun server reflexive", "turn relayed", "google turn relayed" or "jingle node").
-
parse
static CandidateExtendedType parse(String extendedTypeName)
Returns a CandidateExtendedType instance corresponding to the specified extendedTypeName. For example, for name "host", this method would return HOST_CANDIDATE.
- Parameters:
extendedTypeName- the name that we'd like to parse.
-
values
static Array<CandidateExtendedType> values()
-
valueOf
static CandidateExtendedType valueOf(String name)
-
-
-
-