public class DemoPollerConfiguration extends Object implements PollerConfiguration
DemoPollerConfiguration class.
Modifier and Type | Method and Description |
---|---|
Date |
getConfigurationTimestamp()
getConfigurationTimestamp
|
int |
getFirstId()
getFirstId
|
PolledService |
getFirstService()
getFirstService
|
PolledService[] |
getPolledServices()
getPolledServices
|
long |
getServerTime()
This is the time on the server just before it is sent to the configuration
to the client in millis since the epoch UTC.
|
void |
setServerTime(long serverTime) |
public Date getConfigurationTimestamp()
getConfigurationTimestamp
getConfigurationTimestamp
in interface PollerConfiguration
Date
object.public PolledService[] getPolledServices()
getPolledServices
getPolledServices
in interface PollerConfiguration
PolledService
objects.public int getFirstId()
getFirstId
public PolledService getFirstService()
getFirstService
PolledService
object.public void setServerTime(long serverTime)
serverTime
- the serverTime to setpublic long getServerTime()
PollerConfiguration
getServerTime
in interface PollerConfiguration
Copyright © 2021. All rights reserved.