Net::Inspect::Flow - base interface for Net::Inspect::* flows
my $tcp = Net::Inspect::L4::TCP->new(...); my $raw = Net::Inspect::L3::IP->new($tcp); ...
Net::Inspect::Flow implements the interface for all flow objects, e.g. that they have an upper flow object. It provides a member upper_flow on which the forwardinh hooks should be called.
upper_flow
Create object, subclasses should call Net::Inspect::Flow::new to initialize object. The given flow will be used for calling the hooks from the newly created flow. If called on object instead of class the object should clone itself. In this case the flow from the cloned object will be cloned too, unless a new flow is given.
Create if necessary a class derived from Net::Inspect::Flow::Any, which contains the given methods additionally to the methods of Net::Inspect::Flow::Any. These methods loop over the attached flows and call the method with the same name on the flow and returns the first defined result.
Net::Inspect::Flow::Any
flows
Net::Inspect::Flow::Any provides the following methods:
adds flow to internal list of flows
detaches flow from internal list of flows
returns internal list of flows
1 POD Error
The following errors were encountered while parsing the POD:
=over without closing =back
To install Net::Inspect, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Inspect
CPAN shell
perl -MCPAN -e shell install Net::Inspect
For more information on module installation, please visit the detailed CPAN module installation guide.