public NtpServer(NtpConfiguration config, ServiceRegistry registry)
public NtpServer( NtpConfiguration config, IoAcceptor acceptor )
    public NtpServer(NtpConfiguration config, ServiceRegistry registry)    {        this.config = config;        this.registry = registry;        String name = config.getName();        int port = config.getPort();        try        {            handler = new NtpProtocolHandler();            udpService = new Service( name, TransportType.DATAGRAM, port );            tcpService = new Service( name, TransportType.SOCKET, port );            registry.bind( udpService, handler );            registry.bind( tcpService, handler );            log.debug( name + " listening on port " + port );        }        catch ( IOException ioe )        {            log.error( ioe.getMessage(), ioe );        }    }