com.eurotech.framework.net.modem
Interface ModemInterfaceAddress

All Superinterfaces:
NetInterfaceAddress
All Known Subinterfaces:
ModemInterfaceAddressConfig

public interface ModemInterfaceAddress
extends NetInterfaceAddress

Modem Interface Address represents the modem state


Method Summary
 long getBytesReceived()
          Reports number of bytes received during a call
 long getBytesTransmitted()
          Reports number of bytes transmitted during a call
 ModemConnectionStatus getConnectionStatus()
          Reports connection status
 ModemConnectionType getConnectionType()
          Reports Connection Type
 int getSignalStrength()
          Reports signal strength in dBm
 boolean isRoaming()
          Reports roaming status
 
Methods inherited from interface com.eurotech.framework.net.NetInterfaceAddress
getAddress, getBroadcast, getDnsServers, getGateway, getNetmask, getNetworkPrefixLength
 

Method Detail

getSignalStrength

int getSignalStrength()
Reports signal strength in dBm

Returns:
signal strength

isRoaming

boolean isRoaming()
Reports roaming status

Returns:
true - modem is roaming false - modem is not roaming

getConnectionStatus

ModemConnectionStatus getConnectionStatus()
Reports connection status

Returns:
connection status

getBytesTransmitted

long getBytesTransmitted()
Reports number of bytes transmitted during a call

Returns:
number of bytes transmitted

getBytesReceived

long getBytesReceived()
Reports number of bytes received during a call

Returns:
number of bytes received

getConnectionType

ModemConnectionType getConnectionType()
Reports Connection Type

Returns:
connection type


Copyright © 2013. All Rights Reserved.