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 feature and thus the code is way more complex than I originally hoped :( And it looks like, that there are some bugs in edge cases, so a rewrite is probably necessary.
Steffen Ullrich <firstname.lastname@example.org>
Copyright by Steffen Ullrich.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.