Examples of acknowledmentInterval()


Examples of org.jboss.aerogear.simplepush.server.SimplePushServerConfig.acknowledmentInterval()

                .password("test")
                .build();
        assertThat(config.endpointUrl(), equalTo("http://127.0.0.1:7777/update"));
        assertThat(config.endpointPrefix(), equalTo("/update"));
        assertThat(config.userAgentReaperTimeout(), is(1000L));
        assertThat(config.acknowledmentInterval(), is(60000L));
    }

    @Test
    public void buildConfigWithNullUserAgentReaperTimeout() {
        final SimplePushServerConfig config = DefaultSimplePushConfig.create().userAgentReaperTimeout(null)
View Full Code Here

Examples of org.jboss.aerogear.simplepush.server.SimplePushServerConfig.acknowledmentInterval()

    @Test
    public void buildConfigWithNullAckInterval() {
        final SimplePushServerConfig config = DefaultSimplePushConfig.create().ackInterval(null)
                .password("test")
                .build();
        assertThat(config.acknowledmentInterval(), is(60000L));
    }

}
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.