Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

alma::alarmsystem::core::mail::ACSMailAndSmsServer Class Reference

List of all members.

Public Member Functions

 ACSMailAndSmsServer (Logger log)
void sendEmail (String address, String subject, String text)
void sendSMS (String number, String text)

Private Attributes

Logger logger

Detailed Description

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.

See also:
cern.laser.business.pojo.MailAndSmsServerImpl
Author:
acaproni


Constructor & Destructor Documentation

alma::alarmsystem::core::mail::ACSMailAndSmsServer::ACSMailAndSmsServer Logger  log  )  [inline]
 

Constructor


Member Function Documentation

void alma::alarmsystem::core::mail::ACSMailAndSmsServer::sendEmail String  address,
String  subject,
String  text
[inline]
 

Send and email.

Parameters:
address The address to send the email to
subject The subject of the email
text The text of the email
See also:
cern.laser.business.pojo.MailAndSmsServerImpl

void alma::alarmsystem::core::mail::ACSMailAndSmsServer::sendSMS String  number,
String  text
[inline]
 

Send an SMS

Parameters:
number The gsm number to send the SMS to
text The text of the SMS to send
See also:
cern.laser.business.pojo.MailAndSmsServerImpl


Member Data Documentation

Logger alma::alarmsystem::core::mail::ACSMailAndSmsServer::logger [private]
 


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:01:38 2009 for ACS Java API by doxygen 1.3.8