

Public Member Functions | |
| MailAndSmsServerImpl () | |
| void | sendEmail (String address, String subject, String text) |
| void | sendSMS (String number, String text) |
Private Member Functions | |
| void | send (String address, String subject, String text) throws AddressException, MessagingException |
| String | buildSMSAddress (String number) |
Private Attributes | |
| Session | session |
Static Private Attributes | |
| static final String | CERN_SMTP_HOST = "smtp.cern.ch" |
| static final String | FROM_LASER = "laser@cern.ch" |
| cern::laser::business::pojo::MailAndSmsServerImpl::MailAndSmsServerImpl | ( | ) | [inline] |
References CERN_SMTP_HOST, and session.
| String cern::laser::business::pojo::MailAndSmsServerImpl::buildSMSAddress | ( | String | number | ) | [inline, private] |
Referenced by sendSMS().
| void cern::laser::business::pojo::MailAndSmsServerImpl::send | ( | String | address, | |
| String | subject, | |||
| String | text | |||
| ) | throws AddressException, MessagingException [inline, private] |
References FROM_LASER, and session.
Referenced by sendEmail(), and sendSMS().
| void cern::laser::business::pojo::MailAndSmsServerImpl::sendEmail | ( | String | address, | |
| String | subject, | |||
| String | text | |||
| ) | [inline] |
Reimplemented in alma::alarmsystem::core::mail::ACSMailAndSmsServer.
References send().
Referenced by cern::laser::business::pojo::AlarmCacheServerImpl::sendEmail().
| void cern::laser::business::pojo::MailAndSmsServerImpl::sendSMS | ( | String | number, | |
| String | text | |||
| ) | [inline] |
Reimplemented in alma::alarmsystem::core::mail::ACSMailAndSmsServer.
References buildSMSAddress(), and send().
Referenced by cern::laser::business::pojo::AlarmCacheServerImpl::sendSMS().
final String cern::laser::business::pojo::MailAndSmsServerImpl::CERN_SMTP_HOST = "smtp.cern.ch" [static, private] |
Referenced by MailAndSmsServerImpl().
final String cern::laser::business::pojo::MailAndSmsServerImpl::FROM_LASER = "laser@cern.ch" [static, private] |
Referenced by send().
Session cern::laser::business::pojo::MailAndSmsServerImpl::session [private] |
Referenced by MailAndSmsServerImpl(), and send().
1.6.2