public class Snooper extends Object
Modifier and Type | Field and Description |
---|---|
private boolean |
active |
private Map<String,Object> |
info |
private Map<String,Object> |
initialInfo |
private SnooperListener |
listener |
private URL |
snooperUrl |
private long |
startTime |
private Object |
syncObject |
private Timer |
timer |
private String |
token |
Constructor and Description |
---|
Snooper(String urlPath,
SnooperListener listener,
long startTime) |
Modifier and Type | Method and Description |
---|---|
void |
addInfo(String key,
Object value) |
void |
addInitialInfo(String key,
Object value) |
void |
cancel() |
long |
getStartTime() |
String |
getToken() |
boolean |
isActive() |
void |
method_5482() |
void |
update() |
private final String token
private final URL snooperUrl
private final SnooperListener listener
private final Timer timer
private final Object syncObject
private final long startTime
private boolean active
public Snooper(String urlPath, SnooperListener listener, long startTime)
public void method_5482()
public void update()
public boolean isActive()
public void cancel()
@Environment(value=CLIENT) public String getToken()
public long getStartTime()