|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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 IModemLinkServiceEsfException
public void connect(int tout)
throws EsfException
IModemLinkService
connect in interface IModemLinkServicetout - - timeout in seconds as int
EsfException
public void disconnect()
throws EsfException
IModemLinkService
disconnect in interface IModemLinkServiceEsfException
public String getIPaddress()
throws EsfException
IModemLinkService
getIPaddress in interface IModemLinkServiceString
EsfExceptionpublic String getGatewayIpAddress()
IModemLinkService
getGatewayIpAddress in interface IModemLinkServiceStringpublic String getIfaceName()
IModemLinkService
getIfaceName in interface IModemLinkServiceString
public PppState getPppState()
throws EsfException
getPppState in interface IModemLinkServiceEsfException
public PppState getPppState(int tout)
throws EsfException
getPppState in interface IModemLinkServiceEsfException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||