CopaServer
Change of Plan Application
 All Classes Functions Pages
Public Member Functions | List of all members
unicopa.copa.server.notification.Notifier Class Reference

This class holds all notification services available to the system. More...

Collaboration diagram for unicopa.copa.server.notification.Notifier:
Collaboration graph

Public Member Functions

void notifyClients (SingleEventUpdate update)
 For each notification service, use their 'notifyClient' interface with this update to inform clients about this update. More...
 
void notifyClient (NotificationEvent event, int userID)
 For each notification service, use their 'notifyClient' interface with this notification event to inform a client about an event. More...
 
void addNotificationService (NotificationService service)
 Add a new notification service to the notifier. More...
 

Detailed Description

This class holds all notification services available to the system.

If notifications should be sent, it is enough to pass it to the notifier and it delegates the task to the different notification services.

Author
Felix Wiemuth

Member Function Documentation

void unicopa.copa.server.notification.Notifier.addNotificationService ( NotificationService  service)

Add a new notification service to the notifier.

Parameters
service
void unicopa.copa.server.notification.Notifier.notifyClient ( NotificationEvent  event,
int  userID 
)

For each notification service, use their 'notifyClient' interface with this notification event to inform a client about an event.

Parameters
eventthe notification event to inform about
userIDthe ID of the user whom to inform
void unicopa.copa.server.notification.Notifier.notifyClients ( SingleEventUpdate  update)

For each notification service, use their 'notifyClient' interface with this update to inform clients about this update.

Parameters
updatethe SingleEventUpdate to inform about

The documentation for this class was generated from the following file: