static final class InetAddresses.TeredoInfo extends 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: http://tools.ietf.org/html/rfc4380.
| Modifier and Type | Field and Description |
|---|---|
private Inet4Address |
client |
private int |
flags |
private int |
port |
private Inet4Address |
server |
| Constructor and Description |
|---|
TeredoInfo(Inet4Address server,
Inet4Address client,
int port,
int flags)
Constructs a TeredoInfo instance.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) Inet4Address |
getClient() |
(package private) int |
getFlags() |
(package private) int |
getPort() |
(package private) Inet4Address |
getServer() |
private final Inet4Address server
private final Inet4Address client
private final int port
private final int flags
TeredoInfo(Inet4Address server, 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.
server - TODOclient - TODOport - TODOflags - TODOIllegalArgumentException - if either of the port or the flags
arguments are out of range of an unsigned shortInet4Address getServer()
Inet4Address getClient()
int getPort()
int getFlags()
Copyright © 2014 Sven Strittmatter. All Rights Reserved.