Package org.snmp4j.model.snmp.spi
Interface SnmpProxyReloader
- All Known Implementing Classes:
SnmpProxyAdapter
public interface SnmpProxyReloader
The
SnmpProxyReloader
interface defines methods to reload proxy objects.- Author:
- Frank Fock
-
Method Summary
Modifier and TypeMethodDescriptionvoid
queueReload
(SnmpProxyObject proxyObject) Queue a proxy object for reload.reloadQueued
(SnmpProxyReloadListener reloadListener) Actually reload all queued proxy objects asynchronously in background.
-
Method Details
-
queueReload
Queue a proxy object for reload. No communication with the SNMP target will be performed yet, untilreloadQueued(SnmpProxyReloadListener)
is called.- Parameters:
proxyObject
- the proxy object to reload.
-
reloadQueued
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.
-