Related Patterns

[Previous] [Next]

The Object By Value design pattern, similar to the Prototypical Object Factory (Chapter 9), permits an object to be cloned. However, the Object By Value design pattern can also pass the clone to a recipient across process boundaries. Similar to the Smart Proxy (Chapter 7), the recipient is then referencing an object in its own process address space, thus avoiding the overhead of cross-process invocation. Unlike the Smart Proxy, however, all object invocations are performed within the local copy, whereas a Smart Proxy can intelligently decide when to delegate requests back to the original object across process boundaries.



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