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 File
java.lang.Exception
public java.lang.String getIface()
String
public java.lang.String getIpAddress()
String
public java.lang.String getGateway()
String
public java.lang.String getDns1()
String
public java.lang.String getDns2()
String
Copyright © 2009 Eurotech Inc. All rights reserved.