com.adventnet.snmp.snmp2.agent
Class AgentSnmpGroup
java.lang.Object
|
+--com.adventnet.snmp.snmp2.agent.AgentSnmpGroup
- public class AgentSnmpGroup
- extends java.lang.Object
- implements RegistrationInterface
This class takes care of registering the RFC1213-SnmpGroup instrumented
listener(SnmpRequestHandler) with the PduRequestHandler.
| Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
listener0
SnmpRequestHandler listener0
agentListener
BaseSnmpAgent agentListener
regListener
RegistrationListener regListener
AgentSnmpGroup
public AgentSnmpGroup()
- No arg Constructor. Currently does nothing.
AgentSnmpGroup
public AgentSnmpGroup(BaseSnmpAgent agent)
- Constructor with SnmpAgent reference.
getAuthenticationListener
public AuthenticationListener getAuthenticationListener()
- Getter for the AuthenticationListener
- Returns:
- The AuthenticationListener instance
initSnmpExtensionNodes
void initSnmpExtensionNodes(RegistrationListener hdlr)
- Adds VarBindRequestListeners to SnmpAgent
addRegistrationListener
public void addRegistrationListener(RegistrationListener l)
- adds the registration listener for this bean.
This listener maintains the registration tree where
VarBindRequestListeners can register for their interested OID.
- Specified by:
- addRegistrationListener in interface RegistrationInterface
- Parameters:
l - ,the registration listener to whom SnmpRequestHandler registers.
removeRegistrationListener
public void removeRegistrationListener(RegistrationListener l)
- removes the registration listener for this bean.
- Specified by:
- removeRegistrationListener in interface RegistrationInterface
- Parameters:
l - - the registration listener to whom SnmpRequestHanlder
has registered.