cern::laser::business::pojo::MailAndSmsServerImpl Class Reference

Inheritance diagram for cern::laser::business::pojo::MailAndSmsServerImpl:
Inheritance graph
[legend]
Collaboration diagram for cern::laser::business::pojo::MailAndSmsServerImpl:
Collaboration graph
[legend]

List of all members.

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"

Constructor & Destructor Documentation

cern::laser::business::pojo::MailAndSmsServerImpl::MailAndSmsServerImpl (  )  [inline]

References CERN_SMTP_HOST, and session.


Member Function Documentation

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]
void cern::laser::business::pojo::MailAndSmsServerImpl::sendSMS ( String  number,
String  text 
) [inline]

Member Data Documentation

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().

Referenced by MailAndSmsServerImpl(), and send().


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

Generated by  doxygen 1.6.2