Package | Description |
---|---|
org.ice4j.ice |
Modifier and Type | Field and Description |
---|---|
private CandidateType |
Candidate.candidateType
The type of this candidate.
|
Modifier and Type | Method and Description |
---|---|
CandidateType |
Candidate.getType()
Returns the type of this candidate which should be an instance of the
CandidateType enumeration. |
static CandidateType |
CandidateType.parse(String candidateTypeName)
Returns a CandidateType instance corresponding to the specified
candidateTypeName.
|
static CandidateType |
CandidateType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CandidateType[] |
CandidateType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
long |
Candidate.computeGTalkPriorityForType(CandidateType candidateType)
Computes the priority this Candidate would have if it were of
the specified candidateType and based on the procedures
defined in the Google Talk specification.
|
long |
Candidate.computePriorityForType(CandidateType candidateType)
Computes the priority this Candidate would have if it were of
the specified candidateType and based on the procedures
defined in the ICE specification.
|
private static int |
Candidate.getTypePreference(CandidateType candidateType)
Returns the type preference that should be used when computing priority
for Candidates of the specified candidateType.
|
void |
Candidate.setCandidateType(CandidateType candidateType)
Sets the type of this candidate which should be an instance of the
CandidateType enumeration. |
Constructor and Description |
---|
Candidate(TransportAddress transportAddress,
Component parentComponent,
CandidateType type,
T relatedCandidate)
Creates a candidate for the specified transport address and properties.
|
LocalCandidate(TransportAddress transportAddress,
Component parentComponent,
CandidateType type,
CandidateExtendedType extendedType,
LocalCandidate relatedCandidate)
Creates a LocalCandidate instance for the specified transport
address and properties.
|
RemoteCandidate(TransportAddress transportAddress,
Component parentComponent,
CandidateType type,
String foundation,
long priority,
RemoteCandidate relatedCandidate)
Creates a RemoteCandidate instance for the specified transport
address and properties.
|
RemoteCandidate(TransportAddress transportAddress,
Component parentComponent,
CandidateType type,
String foundation,
long priority,
RemoteCandidate relatedCandidate,
String ufrag)
Creates a RemoteCandidate instance for the specified transport
address and properties.
|
Copyright © 2018. All rights reserved.