Public Member Functions | |
ACSMailAndSmsServer (Logger log) | |
void | sendEmail (final String address, final String subject, final String text) |
void | sendSMS (String number, String text) |
ACS class to send SMS and mail.
The class extends MailAndSmsServerImpl CERN pojo class because in such a class there are several hard-coded fields that are different from what we use in ACS/ALMA.
At the present the alarm system does not send SMS so this class defines stub routines to be filled in when we'll decide we need them.
alma.alarmsystem.core.mail.ACSMailAndSmsServer.ACSMailAndSmsServer | ( | Logger | log | ) |
Constructor
void alma.alarmsystem.core.mail.ACSMailAndSmsServer.sendEmail | ( | final String | address, | |
final String | subject, | |||
final String | text | |||
) |
Send and email.
address | The address to send the email to | |
subject | The subject of the email | |
text | The text of the email |
void alma.alarmsystem.core.mail.ACSMailAndSmsServer.sendSMS | ( | String | number, | |
String | text | |||
) |
Send an SMS
number | The gsm number to send the SMS to | |
text | The text of the SMS to send |
Reimplemented from cern.laser.business.pojo.MailAndSmsServerImpl.