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