Skip to content

An example for Observer Pattern.monitor a particular Folder and notify the file count changes to the subscribers.

Notifications You must be signed in to change notification settings

kekayan/FilesMonitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FilesMonitor

An example for Observer Pattern for My Software Architecture & Desgin Assingmnent. The Apllication will monitor a particular Folder and notify the file counts to the subscribers.

Inorder to change the listening directory.we need to pass the directory to constructor

FilesMonitor filesmonitor = new FilesMonitor("E:/Test"); //subject

Since i used dummy implementations for Sms, Email and Twitter message sending classes. Output will be like below . When we run our application.whenever change happen it ll notify

About

An example for Observer Pattern.monitor a particular Folder and notify the file count changes to the subscribers.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published