Package 

Class RelayedCandidate

  • All Implemented Interfaces:
    java.lang.Comparable

    
    public class RelayedCandidate
    extends LocalCandidate
                        

    Represents a Candidate obtained by sending a TURN Allocate request from a HostCandidate to a TURN server. The relayed candidate is resident on the TURN server, and the TURN server relays packets back towards the agent.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      RelayedCandidate(TransportAddress transportAddress, TurnCandidateHarvest turnCandidateHarvest, TransportAddress mappedAddress) Initializes a new RelayedCandidate which is to represent a specific TransportAddress harvested through a specific HostCandidate and a TURN server with a specific TransportAddress.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      synchronized IceSocketWrapper getCandidateIceSocketWrapper() Gets the application-purposed DatagramSocket associated with this Candidate.
      • Methods inherited from class org.ice4j.ice.LocalCandidate

        getDatagramSocket, getExtendedType, getSocket, getStunSocket, getStunStack, getUfrag, isDefault, isSSL, setExtendedType, setSSL, setUfrag
      • Methods inherited from class org.ice4j.ice.Candidate

        canReach, compareTo, computeGTalkPriority, computeGTalkPriorityForType, computePriority, computePriorityForType, equals, getBase, getFoundation, getHostAddress, getMappedAddress, getParentComponent, getPriority, getReflexiveAddress, getRelatedAddress, getRelatedCandidate, getRelayServerAddress, getRelayedAddress, getStunServerAddress, getTcpType, getTransport, getTransportAddress, getType, hashCode, isVirtual, setBase, setCandidateType, setFoundation, setTcpType, setVirtual, toShortString, toString
      • Methods inherited from class java.lang.Comparable

        compareTo
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RelayedCandidate

        RelayedCandidate(TransportAddress transportAddress, TurnCandidateHarvest turnCandidateHarvest, TransportAddress mappedAddress)
        Initializes a new RelayedCandidate which is to represent a specific TransportAddress harvested through a specific HostCandidate and a TURN server with a specific TransportAddress.
        Parameters:
        transportAddress - the TransportAddress to be represented by the new instance
        turnCandidateHarvest - the TurnCandidateHarvest which has harvested the new instance
        mappedAddress - the mapped TransportAddress reported by the TURN server with the delivery of the replayed transportAddressto be represented by the new instance