Examples of NtpServer


Examples of org.apache.directory.server.ntp.NtpServer

        if ( ( ntpServerBean == null ) || ntpServerBean.isDisabled() )
        {
            return null;
        }

        NtpServer ntpServer = new NtpServer();
       
        // The service ID
        ntpServer.setServiceId( ntpServerBean.getServerId() );
       
        // The transports
        Transport[] transports = createTransports( ntpServerBean.getTransports() );
        ntpServer.setTransports( transports );
       
        return ntpServer;
    }
View Full Code Here

Examples of org.apache.ntp.NtpServer

            if ( cfg.isEnableNtp() )
            {
                try
                {
                    NtpConfiguration ntpConfig = new NtpConfiguration( env, LoadStrategy.PROPS );
                    ntpServer = new NtpServer( ntpConfig, minaRegistry );
                }
                catch ( Throwable t )
                {
                    log.error( "Failed to start the NTP service", t );
                }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.