Net::IMP::Cascade - manages cascade of IMP filters
use Net::IMP::Cascade; use Net::IMP::Pattern; use Net::IMP::SessionLog; ... my $imp = Net::IMP::Cascade->new_factory( parts => [ Net::IMP::Pattern->new_factory.., Net::IMP::SessionLog->new_factory.., ]);
Net::IMP::Cascade puts multiple IMP analyzers into a cascade. Data get analyzed starting with part#0, then part#1... etc for direction 0 (client to server), while for direction 1 (server to client) the data get analyzed the opposite way, ending in part#0.
The only argument special to
parts, which is an array reference of Net::IMP factory objects. When
new_analyzer gets called on the Net::IMP::Cascade> factory,
new_analyzer will be called on the factory objects of the parts too, keeping all arguments, except
Currently IMP_TOSENDER is not supported
The code is way more complex than I originally hoped, even after a nearly complete rewrite of the innards. So probably the problem itself is complex. For debugging help see comments on top of code.
Steffen Ullrich <email@example.com>
Copyright by Steffen Ullrich.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.