org.tango.server
Class PollingUtils

java.lang.Object
  extended by org.tango.server.PollingUtils

public final class PollingUtils
extends java.lang.Object

Utils for polling

Author:
ABEILLE

Method Summary
static void configurePolling(int pollingPeriod, PolledObjectConfig config, AttributePropertiesManager attributePropertiesManager)
          Configure polling
static void resetPolling(PolledObjectConfig config, AttributePropertiesManager attributePropertiesManager)
          Reset polling
static java.lang.String toString(fr.esrf.Tango.DevFailed e)
           
static void updatePollingConfigFromDB(PolledObjectConfig config, AttributePropertiesManager attributePropertiesManager)
          Updaye polling config in tango db
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

configurePolling

public static void configurePolling(int pollingPeriod,
                                    PolledObjectConfig config,
                                    AttributePropertiesManager attributePropertiesManager)
                             throws fr.esrf.Tango.DevFailed
Configure polling

Parameters:
pollingPeriod - the polling period
config - the polling config
attributePropertiesManager - the attribute properties manager
Throws:
fr.esrf.Tango.DevFailed

resetPolling

public static void resetPolling(PolledObjectConfig config,
                                AttributePropertiesManager attributePropertiesManager)
                         throws fr.esrf.Tango.DevFailed
Reset polling

Parameters:
config - the polling config
attributePropertiesManager - the attribute properties manager
Throws:
fr.esrf.Tango.DevFailed

updatePollingConfigFromDB

public static void updatePollingConfigFromDB(PolledObjectConfig config,
                                             AttributePropertiesManager attributePropertiesManager)
                                      throws fr.esrf.Tango.DevFailed
Updaye polling config in tango db

Parameters:
config -
attributePropertiesManager -
Throws:
fr.esrf.Tango.DevFailed

toString

public static java.lang.String toString(fr.esrf.Tango.DevFailed e)


Copyright © 2012-2014. All Rights Reserved.