Modifier and Type | Field and Description |
---|---|
private long |
consentFreshnessInterval |
private int |
consentFreshnessMaxRetransmissions |
private int |
maxConsentFreshnessWaitInterval |
private int |
originalConsentFreshnessWaitInterval |
private Runnable |
runnableCheck
Execute STUN keep-alive checks
|
private ScheduledFuture<?> |
stunKeepAliveFuture
The scheduled task which sends periodic STUN keep-alive checks.
|
private Object |
stunKeepAliveFutureSyncRoot
The object used to synchronize access to
stunKeepAliveFuture . |
Modifier | Constructor and Description |
---|---|
private |
StunKeepAliveRunner() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
cancel()
Cancel scheduled periodic task which performs
STUN keep-alive checks
|
(package private) void |
schedule()
Schedules execution of periodic task which performs
STUN keep-alive checks
|
(package private) boolean |
shouldRunStunKeepAlive()
Determines whether
Agent.stunKeepAliveRunner should run. |
private final long consentFreshnessInterval
private final int originalConsentFreshnessWaitInterval
private final int maxConsentFreshnessWaitInterval
private final int consentFreshnessMaxRetransmissions
private ScheduledFuture<?> stunKeepAliveFuture
private final Object stunKeepAliveFutureSyncRoot
stunKeepAliveFuture
.private final Runnable runnableCheck
void schedule()
void cancel()
boolean shouldRunStunKeepAlive()
Agent.stunKeepAliveRunner
should run.Agent.stunKeepAliveRunner
should run otherwise, falseCopyright © 2018. All rights reserved.