Class CastLink.Address
java.lang.Object
com.iizigo.panel.CastLink.Address
- Enclosing class:
CastLink
An address offered in the chooser.
- Author:
- Christopher Mindus
Method Summary
Modifier and TypeMethodDescriptionGets the address.getHost()Gets the address as the link carries it:CastLink.hostOf(InetAddress).Gets the interface.getLink(int port) Gets the link for this address.getText()Gets the text of the chooser: the interface's name and the address, e.g.toString()Debug string.
Method Details
getInterface
getAddress
getHost
Gets the address as the link carries it:CastLink.hostOf(InetAddress).- Returns:
- The text, e.g.
"192.168.1.20"or"2001:db8::1".
getText
Gets the text of the chooser: the interface's name and the address, e.g."Wi-Fi: 192.168.1.20".- Returns:
- The text.
getLink
Gets the link for this address.- Parameters:
port- The port of the web server.- Returns:
- The link.
toString