

Public Member Functions | |
| ACSMailAndSmsServer (Logger log) | |
| void | sendEmail (String address, String subject, String text) |
| void | sendSMS (String number, String text) |
Private Attributes | |
| Logger | logger |
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 emails neither 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 | ) | [inline] |
Constructor
References logger.
| void alma::alarmsystem::core::mail::ACSMailAndSmsServer::sendEmail | ( | String | address, | |
| String | subject, | |||
| String | text | |||
| ) | [inline] |
Send and email.
| address | The address to send the email to | |
| subject | The subject of the email | |
| text | The text of the email |
Reimplemented from cern::laser::business::pojo::MailAndSmsServerImpl.
References logger.
| void alma::alarmsystem::core::mail::ACSMailAndSmsServer::sendSMS | ( | String | number, | |
| String | text | |||
| ) | [inline] |
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.
References logger.
Logger alma::alarmsystem::core::mail::ACSMailAndSmsServer::logger [private] |
Referenced by ACSMailAndSmsServer(), sendEmail(), and sendSMS().
1.6.2