Package org.jboss.jmx.adaptor.snmp.agent

Interface Summary
DynamicContentAccessor DynamicContentAccessor or DCA for short allows the introduction of dynamic content in the notification wrappers.
EventTypes Constant types for notifications
NotificationWrapper NotificationWrapper is a "wide" read only interface providing "unstructured" access to agent internals and paylod carried by notifications.
Reconfigurable Interface that must be implemented by reconfigurable Handlers.
RequestHandler Interface that must be implemented by classes that provide agent get/set functionality
SnmpAgentRequestHandler The SnmpAgentRequestHandler interface is implemented by an object that wishs to receive callbacks when an SNMP protocol data unit is received from a manager.
SnmpAgentServiceMBean SnmpAgentService MBean interface.
TrapFactory TrapFactory takes care of translation of Notifications into SNMP V1 and V2 traps Trap-PDU ::= [4] IMPLICIT SEQUENCE { enterprise -- type of object generating -- trap, see sysObjectID in [5] OBJECT IDENTIFIER, agent-addr -- address of object generating NetworkAddress, -- trap generic-trap -- generic trap type INTEGER { coldStart(0), warmStart(1), linkDown(2), linkUp(3), authenticationFailure(4), egpNeighborLoss(5), enterpriseSpecific(6) }, specific-trap -- specific code, present even INTEGER, -- if generic-trap is not -- enterpriseSpecific time-stamp -- time elapsed between the last TimeTicks, -- (re)initialization of the network -- entity and the generation of the trap variable-bindings -- "interesting" information VarBindList }
 

Class Summary
AttributeMappingsBinding Parse the mapping of JMX mbean attributes to SNMP OIDs TODO: extend this parsing.
AttributeTableMapper  
BindEntry An entry containing the mapping between oid and mbean/attribute
Clock Utility class that provides time keeping from the time of instantiation.
Counter Simple, thread safe counter implementattion with accessor methods.
Heartbeat Heartbeat auxiliary class implementing agent heartbeat schedulling and emission setup
NotificationWrapperSupport NotificationWrapperSupport provides a base NotificationWrapper implementation
RequestHandlerImpl Implement RequestHandler with mapping of snmp get/set requests to JMX mbean attribute gets/sets.
RequestHandlerSupport Implement RequestHandler with simple tracing of incoming requests.
SnmpAgentService SnmpAgentService is an MBean class implementing an SNMP agent.
SnmpRequest  
SnmpVarBindFactory SnmpVarBindFactory implements the infrastructure required to generate SNMP variable bindings from generic Object instances.
TableMapper  
TrapEmitter TrapEmitter is a class that manages SNMP trap emission.
TrapFactorySupport TrapFactorySupport takes care of translation of Notifications into SNMP V1 and V2 traps Data Structure Guide It looks complicated but it ain't.
 

Exception Summary
BadSnmpVersionException  
EndOfMibViewException This exception is thrown when a GETNEXT or GETBULK operation attempts to get an OID that is not in the MIB
MappingFailedException MappingFailedException is used to report generic errors encountered during the translation from notifications to traps.
NoSuchInstanceException This exception is thrown when a manager attempts to retrieve an instance of an object that does not exist.
NoSuchObjectException This exception is thrown when a manager attempts to retrieve information about an OID that does not exist in the attributes.xml
ReadOnlyException This exception is thrown when an entry is read only and a client wants to write to it.
VariableTypeException This exception is thrown when a client attempts to either GET a variable that is of a type not supported by our SNMP adaptor (hopefully very few types eventually), or if the client attempts to SET an attribute of type T to something of a type that is not T (ie a String to an int)
 



Copyright © 2011. All Rights Reserved.