@Beta public static final class InetAddresses.TeredoInfo extends java.lang.Object
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: RFC 4380.
Constructor and Description |
---|
TeredoInfo(java.net.Inet4Address server,
java.net.Inet4Address client,
int port,
int flags)
Constructs a TeredoInfo instance.
|
Modifier and Type | Method and Description |
---|---|
java.net.Inet4Address |
getClient() |
int |
getFlags() |
int |
getPort() |
java.net.Inet4Address |
getServer() |
public TeredoInfo(@NullableDecl java.net.Inet4Address server, @NullableDecl java.net.Inet4Address client, int port, int flags)
Both server and client can be null
, in which case the value "0.0.0.0"
will
be assumed.
java.lang.IllegalArgumentException
- if either of the port
or the flags
arguments
are out of range of an unsigned shortCopyright © 2010–2019 JBoss by Red Hat. All rights reserved.