Class Poller

java.lang.Object
com.vaadin.client.communication.Poller

public class Poller extends Object
Handles polling the server with a given interval.
Since:
1.0
Author:
Vaadin Ltd
  • Constructor Details

    • Poller

      public Poller(Registry registry)
      Creates a new instance using the given registry.
      Parameters:
      registry - the registry
  • Method Details

    • setInterval

      public void setInterval(int interval)
      Sets the polling interval.

      Changing the polling interval will stop any current polling and schedule a new poll to happen after the given interval.

      Parameters:
      interval - The interval to use
    • poll

      public void poll()
      Polls the server for changes.