public IOFConnection getConnection(LogicalOFMessageCategory category) { if (switchManager.isCategoryRegistered(category)) { return getConnection(category.getAuxId()); } else { throw new IllegalArgumentException( category + " is not registered with the floodlight provider service."); } }