A method for class-based per-flow queuing for use with multiple link-sharing
hierarchies,
where each one of multiple link-sharing hierarchies imposes a different resource
allocation program at one or more levels of differentiation, extending from the
link root node to each individual data flow. A new queuing decision layer is introduced
that considers all hierarchies simultaneously and arrives at a single queuing solution.