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.Exceptionvoid disconnect()
throws java.lang.Exception
java.lang.Exceptionboolean isConnected()
throws java.lang.Exception
booleanjava.lang.Exceptionboolean isConnected(int tout)
throws java.lang.Exception
tout - - timeout in seconds as intbooleanjava.lang.ExceptionModemConnectionInfo getModemConnectionInfo()
ModemConnectionInfoboolean isConnectionInProgress()
throws java.lang.Exception
booleanjava.lang.Exceptionboolean isConnectionInProgress(int tout)
throws java.lang.Exception
tout - booleanjava.lang.Exceptionjava.lang.String getIPaddress()
throws java.lang.Exception
Stringjava.lang.Exceptionjava.lang.String getGatewayIpAddress()
throws java.lang.Exception
Stringjava.lang.Exceptionjava.lang.String getIfaceName()
StringCopyright © 2009 Eurotech Inc. All rights reserved.