HomeSort by relevance Sort by last modified time
    Searched refs:pingManager (Results 1 - 2 of 2) sorted by null

  /external/smack/src/org/jivesoftware/smackx/ping/
ServerPingTask.java 46 PingManager pingManager = PingManager.getInstanceFor(connection);
59 res = pingManager.pingMyServer();
62 pingManager.lastSuccessfulPingByTask = System.currentTimeMillis();
67 Set<PingFailedListener> pingFailedListeners = pingManager.getPingFailedListeners();
73 pingManager.maybeSchedulePingServerTask();
PingManager.java 57 public class PingManager {
63 private static Map<Connection, PingManager> instances =
64 Collections.synchronizedMap(new WeakHashMap<Connection, PingManager>());
69 new PingManager(connection);
91 private PingManager(Connection connection) {
149 public static PingManager getInstanceFor(Connection connection) {
150 PingManager pingManager = instances.get(connection);
152 if (pingManager == null) {
153 pingManager = new PingManager(connection)
    [all...]

Completed in 711 milliseconds