makes ServerDiscover.ScanCallback a interface