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:
  • Field Details

  • Constructor Details

    • 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 Details

    • 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.
    • toXML

      public String toXML()
      Obtain a valid XML representation of a transport candidate.
      Returns:
      A string containing the XML dump of the transport candidate.