Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.protocol.jabber
Class JingleNodesCandidate

java.lang.Object
  extended by org.ice4j.ice.Candidate
      extended by org.ice4j.ice.LocalCandidate
          extended by net.java.sip.communicator.impl.protocol.jabber.JingleNodesCandidate

public class JingleNodesCandidate
extends org.ice4j.ice.LocalCandidate

Represents a Candidate obtained via Jingle Nodes.

Author:
Sebastien Vincent

Field Summary
 
Fields inherited from class org.ice4j.ice.Candidate
MAX_LOCAL_PREFERENCE, MAX_TYPE_PREFERENCE, MIN_LOCAL_PREFERENCE, MIN_TYPE_PREFERENCE, priority
 
Constructor Summary
JingleNodesCandidate(org.ice4j.TransportAddress transportAddress, org.ice4j.ice.Component parentComponent, org.ice4j.TransportAddress localEndPoint)
          Creates a JingleNodesRelayedCandidate for the specified transport, address, and base.
 
Method Summary
 org.ice4j.socket.IceSocketWrapper getIceSocketWrapper()
          Gets the DatagramSocket associated with this Candidate.
 JingleNodesCandidateDatagramSocket getRelayedCandidateDatagramSocket()
          Gets the JingleNodesCandidateDatagramSocket of this JingleNodesCandidate.
 
Methods inherited from class org.ice4j.ice.LocalCandidate
createStunDatagramPacketFilter, free, getDatagramSocket, getExtendedType, getSocket, getStunSocket, getStunStack, getUfrag, isDefault, setExtendedType, setUfrag
 
Methods inherited from class org.ice4j.ice.Candidate
canReach, computeGTalkPriority, computeGTalkPriorityForType, computePriority, computePriorityForType, equals, getBase, getDefaultPreference, getFoundation, getMappedAddress, getParentComponent, getPriority, getRelatedAddress, getRelayServerAddress, getStunServerAddress, getTransport, getTransportAddress, getType, isVirtual, setBase, setCandidateType, setFoundation, setMappedAddress, setRelayServerAddress, setStunServerAddress, setVirtual, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JingleNodesCandidate

public JingleNodesCandidate(org.ice4j.TransportAddress transportAddress,
                            org.ice4j.ice.Component parentComponent,
                            org.ice4j.TransportAddress localEndPoint)
Creates a JingleNodesRelayedCandidate for the specified transport, address, and base.

Parameters:
transportAddress - the transport address that this candidate is encapsulating.
parentComponent - the Component that this candidate belongs to.
localEndPoint - TransportAddress of the Jingle Nodes relay where we will send our packet.
Method Detail

getRelayedCandidateDatagramSocket

public JingleNodesCandidateDatagramSocket getRelayedCandidateDatagramSocket()
Gets the JingleNodesCandidateDatagramSocket of this JingleNodesCandidate.

Note: The method is part of the internal API of RelayedCandidate and TurnCandidateHarvest and is not intended for public use.

Returns:
the RelayedCandidateDatagramSocket of this RelayedCandidate

getIceSocketWrapper

public org.ice4j.socket.IceSocketWrapper getIceSocketWrapper()
Gets the DatagramSocket associated with this Candidate.

Specified by:
getIceSocketWrapper in class org.ice4j.ice.LocalCandidate
Returns:
the DatagramSocket associated with this Candidate

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.