Package 

Class GoogleRelayedCandidate

  • All Implemented Interfaces:
    java.lang.Comparable

    
    public class GoogleRelayedCandidate
    extends LocalCandidate
                        

    Represents a Candidate obtained by sending a Google TURN Allocate request from a HostCandidate to a TURN server. The Google 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
      private final String password
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getPassword() Returns the password for this candidate.
      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

      • GoogleRelayedCandidate

        GoogleRelayedCandidate(TransportAddress transportAddress, GoogleTurnCandidateHarvest turnCandidateHarvest, TransportAddress mappedAddress, String username, String password)
        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
        username - username (Send request to the Google relay server need it)
        password - password (used with XMPP gingle candidates).