Class JingleTransport.JingleTransportCandidate
java.lang.Object
org.jivesoftware.smackx.jingleold.packet.JingleTransport.JingleTransportCandidate
- Direct Known Subclasses:
JingleTransport.Ice.Candidate
,JingleTransport.RawUdp.Candidate
- Enclosing class:
- JingleTransport
Candidate element in the transport. This class acts as a view of the
"TransportCandidate" in the Jingle space.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCreates a new TransportNegotiator child.JingleTransportCandidate
(TransportCandidate candidate) Creates a new TransportNegotiator child. -
Method Summary
-
Field Details
-
NODENAME
- See Also:
-
transportCandidate
-
-
Constructor Details
-
JingleTransportCandidate
public JingleTransportCandidate()Creates a new TransportNegotiator child. -
JingleTransportCandidate
Creates a new TransportNegotiator child.- Parameters:
candidate
- the jmf transport candidate
-
-
Method Details
-
getElementName
Returns the XML element name of the element.- Returns:
- the XML element name of the element.
-
getMediaTransport
Get the current transportElement candidate.- Returns:
- the transportElement candidate
-
setMediaTransport
Set the transportElement candidate.- Parameters:
cand
- the transportElement candidate
-
getChildElements
Get the list of attributes.- Returns:
- a string with the list of attributes.
-
toXML
Obtain a valid XML representation of a transport candidate.- Returns:
- A string containing the XML dump of the transport candidate.
-