-
- All Implemented Interfaces:
-
org.ice4j.ResponseCollector
public class StunCandidateHarvest extends AbstractResponseCollector
Represents the harvesting of STUN Candidates for a specific HostCandidate performed by a specific StunCandidateHarvester.
-
-
Field Summary
Fields Modifier and Type Field Description public final StunCandidateHarvesterharvesterpublic final HostCandidatehostCandidate
-
Constructor Summary
Constructors Constructor Description StunCandidateHarvest(StunCandidateHarvester harvester, HostCandidate hostCandidate)Initializes a new StunCandidateHarvest which is to represent the harvesting of STUN Candidates for a specific HostCandidate performed by a specific StunCandidateHarvester.
-
Method Summary
Modifier and Type Method Description voidprocessResponse(StunResponseEvent event)Notifies this ResponseCollector that a STUN response described by the specified StunResponseEvent has been received. voidclose()Close the harvest. -
-
Constructor Detail
-
StunCandidateHarvest
StunCandidateHarvest(StunCandidateHarvester harvester, HostCandidate hostCandidate)
Initializes a new StunCandidateHarvest which is to represent the harvesting of STUN Candidates for a specific HostCandidate performed by a specific StunCandidateHarvester.- Parameters:
harvester- the StunCandidateHarvester which is performing the STUN harvestinghostCandidate- the HostCandidate for which STUN Candidates are to be harvested
-
-
Method Detail
-
processResponse
void processResponse(StunResponseEvent event)
Notifies this ResponseCollector that a STUN response described by the specified StunResponseEvent has been received.
- Parameters:
event- the StunResponseEvent which describes the received STUN response
-
close
void close()
Close the harvest.
-
-
-
-