Public Member Functions

alma.alarmsystem.core.mail.ACSMailAndSmsServer Class Reference

Inheritance diagram for alma.alarmsystem.core.mail.ACSMailAndSmsServer:
cern.laser.business.pojo.MailAndSmsServerImpl

List of all members.

Public Member Functions

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

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

Constructor


Member Function Documentation

void alma.alarmsystem.core.mail.ACSMailAndSmsServer.sendEmail ( final String  address,
final String  subject,
final String  text 
)

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 
)

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

Reimplemented from cern.laser.business.pojo.MailAndSmsServerImpl.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties