|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This RMI interface is an SNMP Poller for automatic polling of one or more variables from an SNMP agent, via a remote RMI server.
This RMI interface defines the set of services accessible remotely from an RMI client to the RMI server. By obtaining a remote reference to the object implementing this interface, the RMI client application can perform RMI calls.
After each poll, it generates events, i.e. ResultEvent objects, for which listeners can be registered.
Please see the RMI client examples for more information on getting started using the RMI APIs. You will find it very useful to get familiar with the com.adventnet.snmp.beans package before using the RMI APIs, since the RMI APIs mirror and are derived from the beans equivalents.
| Field Summary |
| Fields inherited from interface com.adventnet.snmp.rmi.SnmpTarget |
AUTH_NO_PRIV, AUTH_PRIV, CBC_3DES, CBC_DES, CFB_AES_128, CFB_AES_192, CFB_AES_256, MD5_AUTH, NO_AUTH, NO_AUTH_NO_PRIV, NO_PRIV, SHA_AUTH, SNMPGET, SNMPGETBULK, SNMPGETNEXT, SNMPINFORM, SNMPREPORT, SNMPRESPONSE, SNMPSET, SNMPTRAP, SNMPV2TRAP, VERSION1, VERSION2C, VERSION3 |
| Method Summary | |
void |
addResultListener(ResultListener l)
add a listener for events from this poller. |
boolean |
getAbsoluteCounters()
get whether counter values should be absolute - applies only for single variable requests. |
boolean |
getPollingStatus()
Returns whether the polling is enabled. |
int |
getPollInterval()
Get the current polling interval in seconds |
boolean |
isAutoActive()
returns whether the poller is started automatically i.e. |
void |
pausePolling()
stops the polling. |
void |
removeResultListener(ResultListener l)
Remove a listener for events from this poller. |
void |
restartPolling()
Restart the SNMP polling. |
void |
setAbsoluteCounters(boolean absoluteCounters)
Set whether counter values should be absolute - applies only for single variable requests. |
void |
setAutoActive(boolean isAutoActive)
set whether poller should start automatically after setting OID or poll interval is set or the first result listener is added. |
void |
setPollInterval(int i)
Set the polling interval in seconds |
void |
stopPolling()
Stop the polling. |
| Method Detail |
public boolean getPollingStatus()
throws java.rmi.RemoteException
java.rmi.RemoteException
public void stopPolling()
throws java.rmi.RemoteException
java.rmi.RemoteException
public void pausePolling()
throws java.rmi.RemoteException
java.rmi.RemoteException
public void restartPolling()
throws java.rmi.RemoteException
java.rmi.RemoteException
public boolean isAutoActive()
throws java.rmi.RemoteException
java.rmi.RemoteException
public void setAutoActive(boolean isAutoActive)
throws java.rmi.RemoteException
java.rmi.RemoteException
public int getPollInterval()
throws java.rmi.RemoteException
java.rmi.RemoteException
public void setPollInterval(int i)
throws java.rmi.RemoteException
java.rmi.RemoteException
public boolean getAbsoluteCounters()
throws java.rmi.RemoteException
java.rmi.RemoteException
public void setAbsoluteCounters(boolean absoluteCounters)
throws java.rmi.RemoteException
java.rmi.RemoteException
public void addResultListener(ResultListener l)
throws java.rmi.RemoteException
addResultListener in interface SnmpTargetjava.rmi.RemoteException
public void removeResultListener(ResultListener l)
throws java.rmi.RemoteException
removeResultListener in interface SnmpTargetjava.rmi.RemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||