Package 

Enum Transport

  • All Implemented Interfaces:
    java.io.Serializable , java.lang.Comparable

    
    public enum Transport
    
                        

    The Transport enumeration contains all currently known transports that ICE may be interacting with (but not necessarily support).

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      SSLTCP

      Represents an Google's SSL TCP transport.

      SCTP

      Represents an SCTP transport.

      DTLS

      Represents a datagram TLS (DTLS) transport.

      TLS

      Represents a TLS transport.

      UDP

      Represents a UDP transport.

      TCP

      Represents a TCP transport.

    • Method Summary

      Modifier and Type Method Description
      String toString() Returns the name of this Transport (e.g.
      static Transport parse(String transportName) Returns a Transport instance corresponding to the specified transportName.
      static Array<Transport> values()
      static Transport valueOf(String name)
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • toString

         String toString()

        Returns the name of this Transport (e.g. "udp" or "tcp").

      • parse

         static Transport parse(String transportName)

        Returns a Transport instance corresponding to the specified transportName. For example, for name "udp", this method would return UDP.

        Parameters:
        transportName - the name that we'd like to parse.