proxy_pattern::RealSubject

class RealSubject : public proxy_pattern::Subject

The RealSubject performs the actual work of handling requests.

Public Functions

inline virtual void request(const std::string &resource) const override

Handles the request and simulates actual processing.

Parameters:

resource – The resource being accessed.