de.beamertool.mobile
Class GsmAt

java.lang.Object
  extended by de.beamertool.mobile.GsmAt
Direct Known Subclasses:
Simulate, SmsLibWrapper

public abstract class GsmAt
extends Object

This class is the superclass for all classes which support a GSM-device It contains some methods, a GSM-device supporting class must implement.

Author:
ocm-zeeman

Method Summary
 void addSmsListener(SmsListener newListener)
          Adds a listener for new SMS-events
abstract  GsmAtStatus getStatus()
          The class should report as much as possible about the GSM device
abstract  void init()
          This method should initilize the device and start everything Remember the status!
abstract  void unInit()
          This method should release all releases and clean everyhtning up Remember the status!
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addSmsListener

public void addSmsListener(SmsListener newListener)
Adds a listener for new SMS-events

Parameters:
newListener - - The new listener

getStatus

public abstract GsmAtStatus getStatus()
The class should report as much as possible about the GSM device


init

public abstract void init()
                   throws Exception
This method should initilize the device and start everything Remember the status!

Throws:
Exception

unInit

public abstract void unInit()
This method should release all releases and clean everyhtning up Remember the status!