Design pattern - agent pattern

proxy pattern 1. Agent mode In Proxy Pattern, one class represents the functions of another class. This type of design pattern belongs to structural pattern. In proxy mode, we create objects with existing objects to provide functional interfaces to the outside world 1.1 INTRODUCTION Intention: in an object-oriented system, direct acces ...

Posted on Sun, 05 Sep 2021 18:25:49 -0400 by object

Agent, static, dynamic

agent A proxy is provided for other objects to control the access of this object. In some cases, when an object cannot directly access that object, the proxy acts as an intermediary between the client and the * * proxied object (delegate class) * *. According to the creation period of the agent, the agent class can be divided into two type ...

Posted on Sun, 05 Sep 2021 13:06:19 -0400 by purencool