Find Jobs
Hire Freelancers

C# Example of Mediator /Colligue design pattern

$30-50 USD

Completed
Posted over 14 years ago

$30-50 USD

Paid on delivery
The design pattern Mediator described in [login to view URL] One XML is created to describes how many Colleague it should be. In this example it should be at least 4. The Colleague is just a simple FileSystemWatcher that start listening for files at a directory (one for each Colleague). After creation of a file Sends the filedata to the Mediator The mediator starts all the 4 Colleague by using the values in the XML. Each Colleague in the XML has a name, a directory to create files in, a directory to red files from. When the Colleague is started the mediator waits for response from the Colleague supervise of directory. When a File is created the Colleague tells the Mediator that a file with a content is created When the mediator get data from the Colleague thru receivedData the mediator looks in the data and uses sendData to the Colleague with the name that is in the received data. The Files created for the Colleague to Supervise and send to the mediator contains ALFA,BRAVO,CHARLIE,DELTA and that correlate to the names in the Config XML that created the Colleague. ## Deliverables This project is just a simple example of a design that will be used in a bigger project. The use of FileSystemWatcher is just a method of quickly get a message flow. Alot of the code is done in the link provided in the short description. The trick is to start variable number of colleagues from data in an XML The code must be don en Visual Studio 2005
Project ID: 2866188

About the project

8 proposals
Remote project
Active 15 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$12 USD in 3 days
5.0 (33 reviews)
4.6
4.6
8 freelancers are bidding on average $37 USD for this job
User Avatar
See private message.
$42.50 USD in 3 days
5.0 (52 reviews)
5.6
5.6
User Avatar
See private message.
$39.95 USD in 3 days
5.0 (25 reviews)
4.2
4.2
User Avatar
See private message.
$42.50 USD in 3 days
5.0 (8 reviews)
3.1
3.1
User Avatar
See private message.
$42.50 USD in 3 days
5.0 (7 reviews)
2.4
2.4
User Avatar
See private message.
$41.65 USD in 3 days
0.0 (1 review)
0.0
0.0
User Avatar
See private message.
$38.25 USD in 3 days
0.0 (0 reviews)
2.9
2.9
User Avatar
See private message.
$38.25 USD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of SWEDEN
Västerås, Sweden
4.9
87
Payment method verified
Member since Mar 18, 2009

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.