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.