Net::Inspect::Flow(3p)

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 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" provides the following methods:

    attach(flow)
        adds flow to internal list of flows

    detach(flow)
        detaches flow from internal list of flows

    attached
        returns internal list of flows

POD ERRORS
Hey! The above document had some coding errors, which are explained below:

Around line 118:
    =over without closing =back