Package 

Enum NominationStrategy

  • All Implemented Interfaces:
    java.io.Serializable , java.lang.Comparable

    
    public enum NominationStrategy
    
                        

    Contains the nomination strategies currently supported by this implementation's DefaultNominator class. Applications can either pick one of these strategies or select NONE in case they want to handle nominations themselves.

    Note that NominationStrategies are an ice4j concept and they are not mentioned in RFC 5245.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      NOMINATE_BEST_RTT

      The strategy consists in nominating the pair that showed the best shortest round trip time once all checks in a list completed.

      NOMINATE_FIRST_HOST_OR_REFLEXIVE_VALID

      The strategy consists in nominating the first host or server reflexive that's confirmed as valid pair. When a relayed candidate pair is validated first, a timer is armed and only if no host or server reflexive pair gets validated prior to timeout, the relayed ones gets nominated.

      NOMINATE_HIGHEST_PRIO

      The strategy consists in nominating the highest priority valid pair. Once a pair is validated, if no higher-priority pairs remain outstanding, it is nominated; otherwise, a timer is armed, and if higher-priority pairs are still outstanding after the timeout, the highest-priority validated pair is nominated.

      NOMINATE_FIRST_VALID

      The strategy consists in nominating the first candidate pair that's confirmed as valid.

      NONE

      Indicates that ice4j's nominator should nominate valid pairs and that the application will be handling this.