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
public abstract static class JingleTransport.JingleTransportCandidate extends java.lang.Object
Candidate element in the transport. This class acts as a view of the "TransportCandidate" in the Jingle space.- See Also:
TransportCandidate
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
NODENAME
protected TransportCandidate
transportCandidate
-
Constructor Summary
Constructors Constructor Description JingleTransportCandidate()
Creates a new TransportNegotiator child.JingleTransportCandidate(TransportCandidate candidate)
Creates a new TransportNegotiator child.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
getChildElements()
Get the list of attributes.static java.lang.String
getElementName()
Returns the XML element name of the element.TransportCandidate
getMediaTransport()
Get the current transportElement candidate.void
setMediaTransport(TransportCandidate cand)
Set the transportElement candidate.java.lang.String
toXML()
Obtain a valid XML representation of a transport candidate.
-
-
-
Field Detail
-
NODENAME
public static final java.lang.String NODENAME
- See Also:
- Constant Field Values
-
transportCandidate
protected TransportCandidate transportCandidate
-
-
Constructor Detail
-
JingleTransportCandidate
public JingleTransportCandidate()
Creates a new TransportNegotiator child.
-
JingleTransportCandidate
public JingleTransportCandidate(TransportCandidate candidate)
Creates a new TransportNegotiator child.- Parameters:
candidate
- the jmf transport candidate
-
-
Method Detail
-
getElementName
public static java.lang.String getElementName()
Returns the XML element name of the element.- Returns:
- the XML element name of the element.
-
getMediaTransport
public TransportCandidate getMediaTransport()
Get the current transportElement candidate.- Returns:
- the transportElement candidate
-
setMediaTransport
public void setMediaTransport(TransportCandidate cand)
Set the transportElement candidate.- Parameters:
cand
- the transportElement candidate
-
getChildElements
protected java.lang.String getChildElements()
Get the list of attributes.- Returns:
- a string with the list of attributes.
-
toXML
public java.lang.String toXML()
Obtain a valid XML representation of a transport candidate.- Returns:
- A string containing the XML dump of the transport candidate.
-
-