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 PollerConfigurationDate object.public PolledService[] getPolledServices()
getPolledServices
getPolledServices in interface PollerConfigurationPolledService objects.public int getFirstId()
getFirstId
public PolledService getFirstService()
getFirstService
PolledService object.public void setServerTime(long serverTime)
serverTime - the serverTime to setpublic long getServerTime()
PollerConfigurationgetServerTime in interface PollerConfigurationCopyright © 2021. All rights reserved.