class CentralCollector implements Collector {

    @VisibleForTesting
    static String escapeHostname(String hostname) {
        hostname = hostname.replace("\\", "\\\\");
        if (hostname.startsWith(":")) {
            hostname = "\\" + hostname;
        }
        while (hostname.contains("::")) {
            hostname = hostname.replace("::", ":\\:");
        }
        return hostname;
    }

    public  CentralCollector(Map<String, String> properties, String collectorAddress,
            @Nullable String collectorAuthority, List<File> confDirs, boolean configReadOnly,
            LiveJvmServiceImpl liveJvmService, LiveWeavingServiceImpl liveWeavingService,
            LiveTraceRepositoryImpl liveTraceRepository, AgentConfigUpdater agentConfigUpdater,
            ConfigService configService);

}