Updated input/ouput processor example according to #560.
Merge pull request #804 from darkrho/issue-560

Updated input/ouput processor example according to #560.