NAME
Net::Inspect::Flow - base interface for Net::Inspect::* flows
SYNOPSIS
my $tcp = Net::Inspect::L4::TCP->new(...);
my $raw = Net::Inspect::L3::IP->new($tcp);
...
DESCRIPTION
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.
- new(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.
- new_any(methods)
-
Create if necessary a class derived from
Net::Inspect::Flow::Any
, which contains the given methods additionally to the methods ofNet::Inspect::Flow::Any
. These methods loop over the attachedflows
and call the method with the same name on the flow and returns the first defined result.Net::Inspect::Flow::Any
provides the following methods:
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 116:
=over without closing =back