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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.net.Inet4Address getClient()  
      int getFlags()  
      int getPort()  
      java.net.Inet4Address getServer()  
      • Methods inherited from class java.lang.Object

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

      • TeredoInfo

        public TeredoInfo​(@CheckForNull
                          java.net.Inet4Address server,
                          @CheckForNull
                          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