Crossfire JXClient, Trunk
Public Member Functions | List of all members
plugins.ExtendedBoilerPlugin Class Reference
Inheritance diagram for plugins.ExtendedBoilerPlugin:
Inheritance graph
Collaboration diagram for plugins.ExtendedBoilerPlugin:
Collaboration graph

Public Member Functions

void boilAndWakeUp (Calendar calendar, int phoneNumber)
 
void boilBySMS (String sms)
 
- Public Member Functions inherited from plugins.BoilerPlugin
void boil ()
 
void boil (int temperature)
 
void keepWarm (int temperature, int seconds)
 

Detailed Description

Introduces new features for BoilerPlugin. Features are boiling water by an SMS and boiling water by date with notification by a phone call.

Definition at line 52 of file ExtendedBoilerPlugin.java.

Member Function Documentation

◆ boilAndWakeUp()

void plugins.ExtendedBoilerPlugin.boilAndWakeUp ( Calendar  calendar,
int  phoneNumber 
)

Boils water at the appointed time and wakes you up by a ring and phone call. Shows "Good morning" and a quote of the day from the Internet on the display.

Parameters
calendar- date and time when water should be boiled
phoneNumber- phone number to call

Definition at line 62 of file ExtendedBoilerPlugin.java.

◆ boilBySMS()

void plugins.ExtendedBoilerPlugin.boilBySMS ( String  sms)

Boils water at the appointed time by getting an SMS of fixed format. Sends an SMS on finish.

Parameters
sms- text of SMS

Definition at line 72 of file ExtendedBoilerPlugin.java.


The documentation for this class was generated from the following file: