Class JingleTransportProvider

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  JingleTransportProvider.Ice
      RTP-ICE profile.
      static class  JingleTransportProvider.RawUdp
      Raw UDP profile.
      • Nested classes/interfaces inherited from class org.jivesoftware.smack.provider.AbstractProvider

        org.jivesoftware.smack.provider.AbstractProvider.NumberFormatParseException, org.jivesoftware.smack.provider.AbstractProvider.TextParseException, org.jivesoftware.smack.provider.AbstractProvider.WrappableParser<E extends java.lang.Object>
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected JingleTransport getInstance()
      Obtain the corresponding TransportNegotiator instance.
      JingleTransport parse​(org.jivesoftware.smack.xml.XmlPullParser parser, int initialDepth, org.jivesoftware.smack.packet.XmlEnvironment xmlEnvironment)
      Parse a iq/jingle/transport element.
      protected abstract JingleTransport.JingleTransportCandidate parseCandidate​(org.jivesoftware.smack.xml.XmlPullParser parser)  
      • Methods inherited from class org.jivesoftware.smack.provider.Provider

        parse, parse
      • Methods inherited from class org.jivesoftware.smack.provider.AbstractProvider

        getElementClass, wrapExceptions
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JingleTransportProvider

        public JingleTransportProvider()
    • Method Detail

      • getInstance

        protected JingleTransport getInstance()
        Obtain the corresponding TransportNegotiator instance.
        Returns:
        a new TransportNegotiator instance
      • parse

        public JingleTransport parse​(org.jivesoftware.smack.xml.XmlPullParser parser,
                                     int initialDepth,
                                     org.jivesoftware.smack.packet.XmlEnvironment xmlEnvironment)
                              throws org.jivesoftware.smack.xml.XmlPullParserException,
                                     java.io.IOException
        Parse a iq/jingle/transport element.
        Specified by:
        parse in class org.jivesoftware.smack.provider.Provider<JingleTransport>
        Parameters:
        parser - the structure to parse
        Returns:
        a transport element.
        Throws:
        java.io.IOException - if an I/O error occurred.
        org.jivesoftware.smack.xml.XmlPullParserException - if an error in the XML parser occurred.