package ru.kirillius.pf.sdn.service;

import lombok.Getter;
import lombok.Setter;
import org.springframework.stereotype.Service;

import java.net.Inet4Address;
import java.util.List;

@Service
public class RuntimeConfigService {
    @Getter
    @Setter
    public class Config {
        private int domainResolveInterval = 1;
        private int subscriptionUpdateInterval = 1;

        private List<Inet4Address> domainResolvers;
    }

    @Getter
    private final Config config = new Config();
}
