Class JingleTransport.Ice
- java.lang.Object
-
- org.jivesoftware.smackx.jingleold.packet.JingleTransport
-
- org.jivesoftware.smackx.jingleold.packet.JingleTransport.Ice
-
- All Implemented Interfaces:
Element
,ExtensionElement
,FullyQualifiedElement
,NamedElement
,XmlLangElement
- Enclosing class:
- JingleTransport
public static class JingleTransport.Ice extends JingleTransport
RTP-ICE profile.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JingleTransport.Ice.Candidate
-
Nested classes/interfaces inherited from class org.jivesoftware.smackx.jingleold.packet.JingleTransport
JingleTransport.Ice, JingleTransport.JingleTransportCandidate, JingleTransport.RawUdp
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
NAMESPACE
-
Fields inherited from class org.jivesoftware.smackx.jingleold.packet.JingleTransport
candidates, namespace, NODENAME
-
-
Constructor Summary
Constructors Constructor Description Ice()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCandidate(JingleTransport.JingleTransportCandidate candidate)
Add a transport candidate.java.util.List<JingleTransport.JingleTransportCandidate>
getCandidatesList()
Get the list of candidates.-
Methods inherited from class org.jivesoftware.smackx.jingleold.packet.JingleTransport
getCandidates, getCandidatesCount, getElementName, getNamespace, setNamespace, toXML
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jivesoftware.smack.packet.FullyQualifiedElement
getLanguage, getQName
-
-
-
-
Field Detail
-
NAMESPACE
public static final java.lang.String NAMESPACE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Ice
public Ice()
-
-
Method Detail
-
addCandidate
public void addCandidate(JingleTransport.JingleTransportCandidate candidate)
Add a transport candidate.- Overrides:
addCandidate
in classJingleTransport
- Parameters:
candidate
- the candidate- See Also:
JingleTransport.addCandidate(org.jivesoftware.smackx.jingleold.packet.JingleTransport.JingleTransportCandidate)
-
getCandidatesList
public java.util.List<JingleTransport.JingleTransportCandidate> getCandidatesList()
Get the list of candidates. As a "raw-udp" transport can only contain one candidate, we use the first in the list...- Overrides:
getCandidatesList
in classJingleTransport
- Returns:
- The candidates list.
- See Also:
JingleTransport.getCandidates()
-
-