Package 

Class TcpHostCandidate

  • All Implemented Interfaces:
    java.lang.Comparable

    
    public class TcpHostCandidate
    extends HostCandidate
                        

    Extends org.ice4j.ice.HostCandidate allowing the instance to have a list of Sockets instead of just one socket. This is needed, because with TCP, connections from different remote addresses result in different Socket instances.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      void addSocket(IceSocketWrapper socket)
      • Methods inherited from class org.ice4j.ice.HostCandidate

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

      • TcpHostCandidate

        TcpHostCandidate(TransportAddress transportAddress, Component parentComponent)
        Initializes a new TcpHostCandidate.
        Parameters:
        transportAddress - the transport address of this TcpHostCandidate.
        parentComponent - the Component that this candidate belongs to.