Interface SnmpProxyReloader

All Known Implementing Classes:
SnmpProxyAdapter

public interface SnmpProxyReloader
The SnmpProxyReloader interface defines methods to reload proxy objects.
Author:
Frank Fock
  • Method Details

    • queueReload

      void queueReload(SnmpProxyObject proxyObject)
      Queue a proxy object for reload. No communication with the SNMP target will be performed yet, until reloadQueued(SnmpProxyReloadListener) is called.
      Parameters:
      proxyObject - the proxy object to reload.
    • reloadQueued

      List<TaskId> reloadQueued(SnmpProxyReloadListener reloadListener)
      Actually reload all queued proxy objects asynchronously in background.
      Parameters:
      reloadListener - the callback listener which receives updates on the reload process.
      Returns:
      a list of TaskId instances for the each affected proxy object. If a reload for a proxy object failed to start (because of network issues or incorrect target definitions), null is returned for that element.