public interface IModemLinkService
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SERVICE_NAME |
Modifier and Type | Method and Description |
---|---|
void |
connect()
Connect request
|
void |
disconnect()
Disconnect request
|
java.lang.String |
getGatewayIpAddress()
Reports gateway IP address (IP address of the peer)
|
java.lang.String |
getIfaceName()
Reports name of network interface
|
java.lang.String |
getIPaddress()
Reports IP address of cellular interface
|
ModemConnectionInfo |
getModemConnectionInfo()
Reports modem connection information
|
boolean |
isConnected()
Reports if network connection has been established
|
boolean |
isConnected(int tout)
Reports if network connection has been established
|
boolean |
isConnectionInProgress()
Reports is network connection is in progress
|
boolean |
isConnectionInProgress(int tout)
Reports if network connection is in progress
|
void connect() throws java.lang.Exception
java.lang.Exception
void disconnect() throws java.lang.Exception
java.lang.Exception
boolean isConnected() throws java.lang.Exception
boolean
java.lang.Exception
boolean isConnected(int tout) throws java.lang.Exception
tout
- - timeout in seconds as int
boolean
java.lang.Exception
ModemConnectionInfo getModemConnectionInfo()
ModemConnectionInfo
boolean isConnectionInProgress() throws java.lang.Exception
boolean
java.lang.Exception
boolean isConnectionInProgress(int tout) throws java.lang.Exception
tout
- boolean
java.lang.Exception
java.lang.String getIPaddress() throws java.lang.Exception
String
java.lang.Exception
java.lang.String getGatewayIpAddress() throws java.lang.Exception
String
java.lang.Exception
java.lang.String getIfaceName()
String
Copyright © 2009 Eurotech Inc. All rights reserved.