E D R , A S I H C RSS

DPSC Chapter5

Chapter 5

Behavioral Patterns


Chain of Responsibility(225) Avoid coupling the sender of a request to its receiver by giving more than one object a chance to handle the request. Chain the receiving objects, and pass the request along the chain until an object handles it.

Command(245) Encapsulate a request or operation as an object, thereby letting you parameterize clients with different operations, queue or log requests, and support undoable operations.

Interpreter(261)


Chain of Responsibility(225)

Command(245) ๋Š” š”ฒญ(request)ด๋‚˜ ๋ช…๋ น(operation)„ object๋กœ„œ บกА™”‹œ‚จ๋‹ค. ธ๋Ÿฌ•œผ๋กœจ ฐฐ ๋‹ค๋ฅธ ๋ช…๋ „ ฐ€„ ด๋–ธŠธ๋“ค„ ŒŒ๋ผ๋ฏธ„™” ‹œ‚ค , š”ฒญ๋“ค„ queue— Œ“ฑฐ๋‚˜  • •˜๋ฉฐ, †Œฐ€๋Šฅ•œ˜•ƒœ˜ ๋ช…๋ น๋“ค„ ง€›•œ‹ค.
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:23:04
Processing time 0.0081 sec