January 2008
Beginner
352 pages
9h 6m
English
We have successfully created a multithreaded polling service, which can be very useful, if you had to monitor more than one directory; for example, you could either have one thread monitor all the directories, or you could create multiple threads, using one per directory. You could also create a pool of threads, monitoring not only file system directories but also FTP folders and MSMQ queues so you could make sure that the proper thread handles the correct source and processing occurs correctly.
For this example, we will expand the service. We will monitor the incoming directory for files and then move these files to a newly created output directory. Although we don’t process these files directly, ...
Read now
Unlock full access