public class ScanStatusPoller extends Object
| Constructor and Description |
|---|
ScanStatusPoller(FodApiConnection apiConnection,
int pollingInterval,
PrintStream logger)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
PollReleaseStatusResult |
pollReleaseStatus(int releaseId)
Polls the release status
|
public ScanStatusPoller(FodApiConnection apiConnection, int pollingInterval, PrintStream logger)
apiConnection - apiConnection connection to usepollingInterval - the polling interval in minuteslogger - the PrintStream that will be logged topublic PollReleaseStatusResult pollReleaseStatus(int releaseId) throws IOException, InterruptedException
releaseId - release to pollIOExceptionInterruptedExceptionCopyright © 2016–2018. All rights reserved.