Package notification
Class MailCommunication
java.lang.Object
notification.MailCommunication
- All Implemented Interfaces:
CommunicationStrategy
This is a subclass of the CommunicationStrategy class.
It overrides the envoyer method for the "MAIL" mode.
This method produces a simple display output.
-
Constructor Details
-
MailCommunication
MailCommunication()
-
-
Method Details
-
envoyer
Method for displaying an alert message sent to a client at a given email address.- Specified by:
envoyerin interfaceCommunicationStrategy- Parameters:
clientName- : The name of the client.adresse- : The client's address.message- : The message sent.
-