org.jboss.jmx.adaptor.snmp.agent
Interface RequestHandler
- All Superinterfaces:
- SnmpAgentRequestHandler
- All Known Implementing Classes:
- RequestHandlerImpl, RequestHandlerSupport
public interface RequestHandler
- extends SnmpAgentRequestHandler
Interface that must be implemented by classes
that provide agent get/set functionality
- Version:
- $Revision: 110455 $
- Author:
- Dimitris Andreadis
initialize
void initialize(java.lang.String resourceName,
javax.management.MBeanServer server,
org.jboss.logging.Logger loggger,
Clock uptime)
throws java.lang.Exception
- Perform initialization, possibly by parsing
mapping information from resourceName
- Parameters:
resourceName - file containing mappinginfoserver - the mbean server to forward mapped get/set requestslogger - the shared logger to useuptime - the snmp agent uptime
- Throws:
java.lang.Exception - in case of initialization problem
addAttributeMappings
void addAttributeMappings(java.util.List<ManagedBean> mappings)
removeAttributeMappings
void removeAttributeMappings(java.util.List<ManagedBean> mappings)
getValueFor
org.snmp4j.smi.Variable getValueFor(org.snmp4j.smi.OID oid)
throws NoSuchInstanceException,
VariableTypeException
- Throws:
NoSuchInstanceException
VariableTypeException
Copyright © 2011. All Rights Reserved.