Chain-of-responsibility pattern: Difference between revisions

Content deleted Content added
Visual Prolog example (protected stream)
m [[Visual Prolog]]: language corrections
Line 111:
<font color="#808000">end</font> <font color="#808000">implement</font> outputStream_protected
 
'''Usage example'''.
Usage example, the '''client''' uses an '''outputStream''' instead of receiving the pipeStream directly, it get the protected version of it.
 
Usage example, theThe '''client''' uses an '''outputStream'''. insteadInstead of receiving the '''pipeStream''' directly, it getgets the protected version of it.
 
<font color="#800080">#include</font> <font color="#0000FF">@&quot;pfc\pipe\pipe.ph&quot;</font>