de.beamertool.admin.phonecheck
Class CheckDevice

java.lang.Object
  extended by de.beamertool.admin.phonecheck.CheckDevice

public class CheckDevice
extends Object

Author:
ocm-zeeman

Nested Class Summary
 class CheckDevice.CallNotification
           
 class CheckDevice.InboundNotification
           
 
Constructor Summary
CheckDevice()
           
 
Method Summary
 void doIt(MobileType theType, CommPort theDevice, String pin)
          Main worker method.
 boolean quit()
          Check whetever the SMSlib service can be stopped.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckDevice

public CheckDevice()
Method Detail

doIt

public void doIt(MobileType theType,
                 CommPort theDevice,
                 String pin)
          throws Exception
Main worker method.
Starts the SMSlib service and set the callback notifications

Parameters:
theType - The type of the connected GSM device
theDevice - The device for the connected GSM device
pin - The pin for the connected GSM device
Throws:
Exception - Thrown if something goes terrible wrong

quit

public boolean quit()
Check whetever the SMSlib service can be stopped.

Returns:
true if the service was stoped, otherwise false