Why not just netman->getTechnology(type)?