Package notification
Class Subscriber
java.lang.Object
notification.Subscriber
Class representing a subscriber to the alert system.
This class stores subscriber-related information via four attributes.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSubscriber(String nom, String mode, String adr) Method for creating a new client. -
Method Summary
-
Field Details
-
nom
The client's name. -
mode
The transmission mode. -
adresse
The client's address.
-
-
Constructor Details
-
Subscriber
Method for creating a new client.- Parameters:
nom- : The client's name.mode- : The transmission mode for the client.adr- : The client's address.
-
-
Method Details
-
getNom
Accessor to retrieve the client's name.- Returns:
- the client's name.
-
getMode
Accessor to retrieve the client's alert mode.- Returns:
- the transmission mode for the client.
-
getAdresse
Accessor to retrieve the client's contact address.- Returns:
- the client's address.
-