Related Patterns

[Previous] [Next]

The State design pattern could be considered a state-sensitive Smart Proxy (Chapter 7). It evaluates the state it's in and determines whether the current object is suitable to perform the requested operations. If not, it delegates the requests to the qualified object. All the while, the client remains incognizant. As far as the client is concerned, the object it is referencing is doing all the work.



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