I was initially going to implement an observer pattern in C# 3.0 to solve my problem although it wouldn't be implement exactly in the same way.
My problem is that I have a web application with users who can post messages. Notifications do not go directly to other users but to a distributed cache where a statistics objects are updated and users can check the statistics a decide if they want the updates or not.
I currently have a IObserver interface that would need to implement multiple Update() methods based on who is posting a message and how they do it.
I have also looked at the mediator pattern but I don't think it is a correct fit because instances of a mediator would not have a list of who is currently logged in.
I am now wondering if there is another established design pattern that would be more suitable or if I should just fuinish building out my current Observer pattern to fit my needs.
Thanks