com.eurotech.framework.net.modem
Interface ModemInterface<T extends ModemInterfaceAddress>

All Superinterfaces:
NetInterface<T>

public interface ModemInterface<T extends ModemInterfaceAddress>
extends NetInterface<T>

Network interface for modems.


Method Summary
 String getManufacturer()
          Returns modem's manufacturer identification
 String getModel()
          Reports modem's model
 ModemDevice getModemDevice()
          Return's the associated ModemDevice for this modem
 String getModemIdentifier()
          Reports identifier string for this modem
 ModemPowerMode getPowerMode()
          Reports modem's power mode.
 int getPppNum()
          Reports ppp interface number for this modem
 String[] getRevisionId()
          Reports modem's revision identification
 String getSerialNumber()
          Answers modem's serial number
 List<ModemTechnologyType> getTechnologyTypes()
          Reports network technology (e.g.
 boolean isPoweredOn()
          Reports if modem is powered on
 
Methods inherited from interface com.eurotech.framework.net.NetInterface
getDriver, getDriverVersion, getFirmwareVersion, getHardwareAddress, getMTU, getName, getNetInterfaceAddresses, getState, getType, getUsbDevice, isAutoConnect, isLoopback, isPointToPoint, isUp, isVirtual, supportsMulticast
 

Method Detail

getPppNum

int getPppNum()
Reports ppp interface number for this modem

Returns:
ppp interface number as int

getModemIdentifier

String getModemIdentifier()
Reports identifier string for this modem

Returns:
modem identifier as String

getModel

String getModel()
Reports modem's model

Returns:
model, null if not known

getManufacturer

String getManufacturer()
Returns modem's manufacturer identification

Returns:
manufacturer, null if not known

getSerialNumber

String getSerialNumber()
Answers modem's serial number

Returns:
ESN, null if not known

getRevisionId

String[] getRevisionId()
Reports modem's revision identification

Returns:
array of revision ID's, null if not known

getTechnologyTypes

List<ModemTechnologyType> getTechnologyTypes()
Reports network technology (e.g. EVDO, HSDPA, etc)

Returns:
- network technology as ModemTechnologyType

isPoweredOn

boolean isPoweredOn()
Reports if modem is powered on

Returns:
true - modem is on
false - modem is off

getPowerMode

ModemPowerMode getPowerMode()
Reports modem's power mode. (e.g. ONLINE, OFFLINE, LOW_POWER)

Returns:
modem power mode
Throws:
EsfException

getModemDevice

ModemDevice getModemDevice()
Return's the associated ModemDevice for this modem

Returns:
ModemDevice


Copyright © 2013. All Rights Reserved.