-
- All Implemented Interfaces:
-
org.ice4j.ResponseCollector
public class GoogleTurnCandidateHarvest extends StunCandidateHarvest
Represents the harvesting of Google TURN Candidates for a specific HostCandidate performed by a specific GoogleTurnCandidateHarvester.
-
-
Constructor Summary
Constructors Constructor Description GoogleTurnCandidateHarvest(GoogleTurnCandidateHarvester harvester, HostCandidate hostCandidate, String password)Initializes a new TurnCandidateHarvest which is to represent the harvesting of TURN Candidates for a specific HostCandidate performed by a specific TurnCandidateHarvester.
-
Method Summary
Modifier and Type Method Description voidclose(GoogleRelayedCandidateDatagramSocket relayedCandidateSocket)Notifies this TurnCandidateHarvest that a specific RelayedCandidateDatagramSocket is closing and that this instance is to delete the associated TURN Allocation. -
Methods inherited from class org.ice4j.ice.harvest.StunCandidateHarvest
close, processResponse -
Methods inherited from class org.ice4j.AbstractResponseCollector
processTimeout, processUnreachable -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
GoogleTurnCandidateHarvest
GoogleTurnCandidateHarvest(GoogleTurnCandidateHarvester harvester, HostCandidate hostCandidate, String password)
Initializes a new TurnCandidateHarvest which is to represent the harvesting of TURN Candidates for a specific HostCandidate performed by a specific TurnCandidateHarvester.- Parameters:
harvester- the TurnCandidateHarvester which is performing the TURN harvestinghostCandidate- the HostCandidate for which TURN Candidates are to be harvestedpassword- The gingle candidates password necessary to use this TURN server.
-
-
Method Detail
-
close
void close(GoogleRelayedCandidateDatagramSocket relayedCandidateSocket)
Notifies this TurnCandidateHarvest that a specific RelayedCandidateDatagramSocket is closing and that this instance is to delete the associated TURN Allocation.
Note: The method is part of the internal API of RelayedCandidateDatagramSocket and TurnCandidateHarvest and is not intended for public use.
- Parameters:
relayedCandidateSocket- the RelayedCandidateDatagramSocketwhich notifies this instance and which requests that the associated TURN Allocation be deleted
-
-
-
-