public class Tracker
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Tracker.Builder |
class |
Tracker.Service |
Constructor and Description |
---|
Tracker(java.lang.String group,
long heartRate,
int maxMissedHeartbeats,
long reconnectDelay,
long maxReconnectDelay,
int maxReconnectAttempts,
long exponentialBackoff,
Logger log,
boolean debug) |
Modifier and Type | Method and Description |
---|---|
void |
checkServices() |
long |
getHeartRate() |
int |
getMaxMissedHeartbeats() |
java.util.Set<java.lang.String> |
getRegisteredServices() |
java.util.Set<java.lang.String> |
getServicesDiscovered() |
java.util.Set<java.lang.String> |
getServicesRegistered() |
void |
processData(java.lang.String uriString) |
void |
registerService(java.net.URI serviceUri) |
void |
reportFailed(java.net.URI serviceUri) |
void |
setDiscoveryListener(DiscoveryListener discoveryListener) |
java.lang.String |
toString() |
void |
unregisterService(java.net.URI serviceUri) |
public Tracker(java.lang.String group, long heartRate, int maxMissedHeartbeats, long reconnectDelay, long maxReconnectDelay, int maxReconnectAttempts, long exponentialBackoff, Logger log, boolean debug)
public long getHeartRate()
public int getMaxMissedHeartbeats()
public void setDiscoveryListener(DiscoveryListener discoveryListener)
public java.util.Set<java.lang.String> getRegisteredServices()
public java.util.Set<java.lang.String> getServicesRegistered()
public java.util.Set<java.lang.String> getServicesDiscovered()
public void registerService(java.net.URI serviceUri) throws java.io.IOException
java.io.IOException
public void unregisterService(java.net.URI serviceUri) throws java.io.IOException
java.io.IOException
public void processData(java.lang.String uriString)
public void checkServices()
public void reportFailed(java.net.URI serviceUri)
public java.lang.String toString()
toString
in class java.lang.Object