Ramifications

[Previous] [Next]

  • Decouples direct communication between objects As a result, there are no direct dependencies between objects in the relationship. Both publishers and subscribers can change autonomously.
  • Enables an extensible behavioral application environment New behavior can be introduced via the registration of a new subscriber.
  • Centralizes invocation response behavior A change in process requires defining a new event channel implementation rather than changing application code. For example, prioritizing the order of subscriber notification or whether notification should be asynchronous or synchronous can be defined in different event channel implementations.
  • Minimizes explicit object interaction An Event Service design pattern lessens the need for various APIs to be referenced in a client application to enlist new services. A client application publishes a single event to an event channel. New services are enlisted by means of newly registered subscribers.


Microsoft Visual Basic Design Patterns
Microsoft Visual Basic Design Patterns (Microsoft Professional Series)
ISBN: B00006L567
EAN: N/A
Year: 2000
Pages: 148

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net