-
- All Implemented Interfaces:
-
org.ice4j.ice.harvest.CandidateHarvester
public class GoogleTurnCandidateHarvester extends StunCandidateHarvester
Implements a CandidateHarvester which gathers Google TURN dialect Candidates for a specified Component.
-
-
Constructor Summary
Constructors Constructor Description GoogleTurnCandidateHarvester(TransportAddress turnServer)Initializes a new GoogleTurnCandidateHarvester instance which is to work with a specific Google TURN server. GoogleTurnCandidateHarvester(TransportAddress turnServer, String shortTermCredentialUsername, String password)Initializes a new GoogleTurnCandidateHarvester instance which is to work with a specific TURN server using a specific username for the purposes of the STUN short-term credential mechanism.
-
Method Summary
Modifier and Type Method Description StringgetPassword()Returns the password for this candidate. -
Methods inherited from class org.ice4j.ice.harvest.StunCandidateHarvester
getStunStack, harvest, toString -
Methods inherited from class org.ice4j.ice.harvest.AbstractCandidateHarvester
getHarvestStatistics, isHostHarvester -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
GoogleTurnCandidateHarvester
GoogleTurnCandidateHarvester(TransportAddress turnServer)
Initializes a new GoogleTurnCandidateHarvester instance which is to work with a specific Google TURN server.- Parameters:
turnServer- the TransportAddress of the TURN server the new instance is to work with
-
GoogleTurnCandidateHarvester
GoogleTurnCandidateHarvester(TransportAddress turnServer, String shortTermCredentialUsername, String password)
Initializes a new GoogleTurnCandidateHarvester instance which is to work with a specific TURN server using a specific username for the purposes of the STUN short-term credential mechanism.- Parameters:
turnServer- the TransportAddress of the TURN server the new instance is to work withshortTermCredentialUsername- the username to be used by the new instance for the purposes of the STUN short-term credential mechanism or null if the use of the STUN short-term credential mechanism is not determined at the time of the construction of the new instancepassword- The gingle candidates password necessary to use this TURN server.
-
-
Method Detail
-
getPassword
String getPassword()
Returns the password for this candidate.
-
-
-
-