public class GetLocalIPA
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.net.InetAddress |
localHostIPA |
private java.lang.String |
localHostStr |
private Server |
server |
Constructor and Description |
---|
GetLocalIPA()
this is a default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
discoverLocalHost()
this establishes a socket, determines the IPA, stores the particulars,
// then stores it all for for external access.
|
java.lang.String |
getLocalHostStr()
this returns the value of the local host's IPA as a String.
|
void |
template()
this method does nothing.
|
private java.net.InetAddress localHostIPA
private java.lang.String localHostStr
private Server server
public void discoverLocalHost()
public java.lang.String getLocalHostStr()
public void template()