com.eurotech.framework.net.admin.modem
Interface IModemLinkService

All Known Implementing Classes:
Ppp

public interface IModemLinkService


Field Summary
static String SERVICE_NAME
           
 
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)
           
 

Field Detail

SERVICE_NAME

static final String SERVICE_NAME
Method Detail

connect

void connect()
             throws EsfException
Connect request with default timeout

Throws:
EsfException

connect

void connect(int tout)
             throws EsfException
Connect request

Parameters:
tout - - timeout in seconds as int
Throws:
EsfException

disconnect

void disconnect()
                throws EsfException
Disconnect request

Throws:
EsfException

getPppState

PppState getPppState()
                     throws EsfException
Throws:
EsfException

getPppState

PppState getPppState(int tout)
                     throws EsfException
Throws:
EsfException

getIPaddress

String getIPaddress()
                    throws EsfException
Reports IP address of cellular interface

Returns:
IP address as String
Throws:
EsfException

getGatewayIpAddress

String getGatewayIpAddress()
Reports gateway IP address (IP address of the peer)

Returns:
gateway IP address as String

getIfaceName

String getIfaceName()
Reports name of network interface

Returns:
network interface name as String


Copyright © 2013. All Rights Reserved.