Relationships

[Previous] [Next]

A client, unaware of the difference between the SmartProxy object and the real object, obtains a reference to a SmartProxy object that supports the interface the client expects. The SmartProxy object maintains an internal reference to the real object that implements the state and behavior defined in the interface. When the client makes a request via the interface, the SmartProxy object carries out the request according to the intentions of the SmartProxy component designer, which might be performance, security, efficiency, or some combination of the three. The SmartProxy object will delegate work to the real object when necessary.



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