Class InetAddresses.TeredoInfo

    • Constructor Summary

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

      • TeredoInfo

        public TeredoInfo​(@Nullable
                          java.net.Inet4Address server,
                          @Nullable
                          java.net.Inet4Address client,
                          int port,
                          int flags)
        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()
      • getClient

        public java.net.Inet4Address getClient()
      • getPort

        public int getPort()
      • getFlags

        public int getFlags()