Package 

Class StunCandidateHarvest

  • 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.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • 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.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      void processResponse(StunResponseEvent event) Notifies this ResponseCollector that a STUN response described by the specified StunResponseEvent has been received.
      void close() Close the harvest.
      • 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

      • 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 harvesting
        hostCandidate - 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.