Steffen Ullrich > Net-IMP-0.627 > Net::IMP::Cascade

Download:
Net-IMP-0.627.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Source   Latest Release: Net-IMP-0.629

NAME ^

Net::IMP::Cascade - manages cascade of IMP filters

SYNOPSIS ^

    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..,
    ]);

DESCRIPTION ^

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 new_factory is 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 parts.

TODO ^

Currently IMP_TOSENDER is not supported

BUGS ^

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.

AUTHOR ^

Steffen Ullrich <sullr@cpan.org>

COPYRIGHT ^

Copyright by Steffen Ullrich.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: