1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2025-12-06 21:21:08 +01:00

Add automatically scheduled pings in PingManager

replaces keep-alive functionality. SMACK-537
This commit is contained in:
Florian Schmaus 2014-02-23 21:36:57 +01:00
parent 54a421e84e
commit 3a4e6c6d39
5 changed files with 273 additions and 40 deletions

View file

@ -186,7 +186,7 @@ public class PingTest {
public void checkSuccessfulDiscoRequest() throws Exception {
ThreadedDummyConnection con = new ThreadedDummyConnection();
DiscoverInfo info = new DiscoverInfo();
info.addFeature(Ping.NAMESPACE);
info.addFeature(PingManager.NAMESPACE);
//@formatter:off
String reply =
@ -209,7 +209,7 @@ public class PingTest {
public void checkUnuccessfulDiscoRequest() throws Exception {
ThreadedDummyConnection con = new ThreadedDummyConnection();
DiscoverInfo info = new DiscoverInfo();
info.addFeature(Ping.NAMESPACE);
info.addFeature(PingManager.NAMESPACE);
//@formatter:off
String reply =