public class ModemConnectionInfo
extends java.lang.Object
| Constructor and Description |
|---|
ModemConnectionInfo(java.io.File coninfoFile)
ConnectionInfo constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDns1()
Reports first name server
|
java.lang.String |
getDns2()
reports second name server
|
java.lang.String |
getGateway()
Reports peer IP address for point-to-point connection
|
java.lang.String |
getIface()
Reports name of the network interface
|
java.lang.String |
getIpAddress()
Reports IP address
|
public ModemConnectionInfo(java.io.File coninfoFile)
throws java.lang.Exception
coninfoFile - - PPP connection info file as Filejava.lang.Exceptionpublic java.lang.String getIface()
Stringpublic java.lang.String getIpAddress()
Stringpublic java.lang.String getGateway()
Stringpublic java.lang.String getDns1()
Stringpublic java.lang.String getDns2()
StringCopyright © 2009 Eurotech Inc. All rights reserved.