ConnectionExtractor constructor

ConnectionExtractor(
  1. Iterable<BridgeModule> modules
)

Creates a new ConnectionExtractor for the given modules which will then identify connections between them.

Implementation

ConnectionExtractor(Iterable<BridgeModule> modules)
    : modules = Set.unmodifiable(modules) {
  // algorithm:
  //  - first, find all full interface-to-interface connections
  //  - then, the remainder can be ad-hoc
  _findInterfaceConnections();
  _findAdHocConnections();
}