Class InetAddresses.TeredoInfo

  • Enclosing class:
    InetAddresses

    @Beta
    @Deprecated(since="2022-12-01")
    public static final class InetAddresses.TeredoInfo
    extends java.lang.Object
    Deprecated.
    The Google Guava Core Libraries are deprecated and will not be part of the AEM SDK after April 2023
    A simple immutable data class to encapsulate the information to be found in a Teredo address.

    All of the fields in this class are encoded in various portions of the IPv6 address as part of the protocol. More protocols details can be found at: http://en.wikipedia.org/wiki/Teredo_tunneling.

    The RFC can be found here: http://tools.ietf.org/html/rfc4380.

    Since:
    5.0
    • Constructor Summary

      Constructors 
      Constructor Description
      TeredoInfo​(java.net.Inet4Address server, java.net.Inet4Address client, int port, int flags)
      Deprecated.
      Constructs a TeredoInfo instance.
    • Constructor Detail

      • TeredoInfo

        public TeredoInfo​(@Nullable
                          java.net.Inet4Address server,
                          @Nullable
                          java.net.Inet4Address client,
                          int port,
                          int flags)
        Deprecated.
        Constructs a TeredoInfo instance.

        Both server and client can be null, in which case the value "0.0.0.0" will be assumed.

        Throws:
        java.lang.IllegalArgumentException - if either of the port or the flags arguments are out of range of an unsigned short
    • Method Detail

      • getServer

        public java.net.Inet4Address getServer()
        Deprecated.
      • getClient

        public java.net.Inet4Address getClient()
        Deprecated.
      • getPort

        public int getPort()
        Deprecated.
      • getFlags

        public int getFlags()
        Deprecated.