public class LatencyController extends Object implements ChangeColorEventListener<ChangeColorEvent>
| Modifier and Type | Field and Description |
|---|---|
org.slf4j.Logger |
log |
| Constructor and Description |
|---|
LatencyController() |
LatencyController(String name) |
LatencyController(String name,
SystemMonitorManager monitor) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChangeColorEventListener(VideoTag type,
TestClient testClient,
String name) |
void |
checkLocalLatency(long testTime,
TimeUnit testTimeUnit,
TestClient client) |
void |
checkLocalLatencyInBackground(long testTime,
TimeUnit testTimeUnit,
TestClient client) |
void |
checkRemoteLatency(long testTime,
TimeUnit testTimeUnit,
TestClient localClient,
TestClient remoteClient) |
void |
checkRemoteLatencyInBackground(long testTime,
TimeUnit testTimeUnit,
TestClient localClient,
TestClient remoteClient) |
void |
drawChart(String filename,
int width,
int height) |
void |
failIfLatencyProblem() |
long |
getLatencyThreshold() |
long |
getLatencyThreshold(TimeUnit timeUnit) |
TimeUnit |
getLatencyTimeUnit() |
String |
getName() |
long |
getTimeout() |
TimeUnit |
getTimeoutTimeUnit() |
void |
logLatencyErrorrs() |
void |
onEvent(ChangeColorEvent e) |
void |
setConsecutiveFailMax(int consecutiveFailMax) |
void |
setLatencyRate(long latencyRate) |
void |
setLatencyThreshold(long latencyThreshold,
TimeUnit latencyThresholdTimeUnit) |
void |
setTimeout(long timeout,
TimeUnit timeoutTimeUnit) |
void |
writeCsv(String csvTitle) |
public LatencyController(String name)
public LatencyController(String name, SystemMonitorManager monitor)
public LatencyController()
public void onEvent(ChangeColorEvent e)
onEvent in interface ChangeColorEventListener<ChangeColorEvent>public void checkLocalLatency(long testTime,
TimeUnit testTimeUnit,
TestClient client)
throws InterruptedException,
IOException
InterruptedExceptionIOExceptionpublic void checkLocalLatencyInBackground(long testTime,
TimeUnit testTimeUnit,
TestClient client)
throws InterruptedException,
IOException
InterruptedExceptionIOExceptionpublic void checkRemoteLatencyInBackground(long testTime,
TimeUnit testTimeUnit,
TestClient localClient,
TestClient remoteClient)
public void checkRemoteLatency(long testTime,
TimeUnit testTimeUnit,
TestClient localClient,
TestClient remoteClient)
public void addChangeColorEventListener(VideoTag type, TestClient testClient, String name)
public void drawChart(String filename, int width, int height) throws IOException
IOExceptionpublic void writeCsv(String csvTitle) throws IOException
IOExceptionpublic void logLatencyErrorrs()
throws IOException
IOExceptionpublic long getLatencyThreshold(TimeUnit timeUnit)
public long getLatencyThreshold()
public void setLatencyThreshold(long latencyThreshold,
TimeUnit latencyThresholdTimeUnit)
public TimeUnit getLatencyTimeUnit()
public long getTimeout()
public void setTimeout(long timeout,
TimeUnit timeoutTimeUnit)
public TimeUnit getTimeoutTimeUnit()
public void failIfLatencyProblem()
public String getName()
public void setLatencyRate(long latencyRate)
public void setConsecutiveFailMax(int consecutiveFailMax)
Copyright © 2015 Kurento. All rights reserved.