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 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 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 String
getChildElements()
Get the list of attributes.static 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.String
toXML()
Obtain a valid XML representation of a transport candidate.
-
-
-
Field Detail
-
NODENAME
public static final 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 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 String getChildElements()
Get the list of attributes.- Returns:
- a string with the list of attributes.
-
-