|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.eurotech.framework.net.admin.modem.Ppp
public class Ppp
Field Summary |
---|
Fields inherited from interface com.eurotech.framework.net.admin.modem.IModemLinkService |
---|
SERVICE_NAME |
Constructor Summary | |
---|---|
Ppp(String iface,
String port)
|
Method Summary | |
---|---|
void |
connect()
Connect request with default timeout |
void |
connect(int tout)
Connect request |
void |
disconnect()
Disconnect request |
String |
getGatewayIpAddress()
Reports gateway IP address (IP address of the peer) |
String |
getIfaceName()
Reports name of network interface |
String |
getIPaddress()
Reports IP address of cellular interface |
PppState |
getPppState()
|
PppState |
getPppState(int tout)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Ppp(String iface, String port)
Method Detail |
---|
public void connect() throws EsfException
IModemLinkService
connect
in interface IModemLinkService
EsfException
public void connect(int tout) throws EsfException
IModemLinkService
connect
in interface IModemLinkService
tout
- - timeout in seconds as int
EsfException
public void disconnect() throws EsfException
IModemLinkService
disconnect
in interface IModemLinkService
EsfException
public String getIPaddress() throws EsfException
IModemLinkService
getIPaddress
in interface IModemLinkService
String
EsfException
public String getGatewayIpAddress()
IModemLinkService
getGatewayIpAddress
in interface IModemLinkService
String
public String getIfaceName()
IModemLinkService
getIfaceName
in interface IModemLinkService
String
public PppState getPppState() throws EsfException
getPppState
in interface IModemLinkService
EsfException
public PppState getPppState(int tout) throws EsfException
getPppState
in interface IModemLinkService
EsfException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |