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.0075 sec