Skip to main content

Proxy

  • Chapter
  • First Online:
Design Patterns in Modern C++
  • 4190 Accesses

Abstract

When we looked at the Decorator design pattern, we saw the different ways of enhancing the functionality of an object. The Proxy design pattern is similar, but its goal is generally to preserve exactly (or as closely as possible) the API that is being used while offering certain internal ehnancements.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    If you are OK with non-standard C++, check out __declspec(property), which is impemented in many modern compilers including Clang, Intel, and of course MSVC.

  2. 2.

    The Microsoft REST SDK is a C++ library for working with REST services. It is both open-source and cross-platform. You can find it on GitHub: https://github.com/Microsoft/cpprestsdk

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Dmitri Nesteruk

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Nesteruk, D. (2018). Proxy. In: Design Patterns in Modern C++. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-3603-1_12

Download citation

Publish with us

Policies and ethics