Class JingleTransport.RawUdp
- java.lang.Object
-
- org.jivesoftware.smackx.jingleold.packet.JingleTransport
-
- org.jivesoftware.smackx.jingleold.packet.JingleTransport.RawUdp
-
- All Implemented Interfaces:
Element
,ExtensionElement
,FullyQualifiedElement
,NamedElement
,XmlLangElement
- Enclosing class:
- JingleTransport
public static class JingleTransport.RawUdp extends JingleTransport
Raw UDP profile.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JingleTransport.RawUdp.Candidate
Raw-udp transport 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 String
NAMESPACE
-
Fields inherited from class org.jivesoftware.smackx.jingleold.packet.JingleTransport
candidates, namespace, NODENAME
-
-
Constructor Summary
Constructors Constructor Description RawUdp()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCandidate(JingleTransport.JingleTransportCandidate candidate)
Add a transport candidate.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 String NAMESPACE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RawUdp
public RawUdp()
-
-
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 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()
-
-