net.sf.snmpadaptor4j.core.mapping
Class SnmpTrapMapping

java.lang.Object
  extended by net.sf.snmpadaptor4j.core.mapping.SnmpTrapMapping
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
GenericSnmpTrapMapping, SpecificSnmpTrapMapping

public abstract class SnmpTrapMapping
extends Object
implements Serializable

Object containing the mapping to build SNMP traps from JMX notifications.

Author:
Jean-Philippe MINETTI
See Also:
Serialized Form

Constructor Summary
protected SnmpTrapMapping(SnmpOid source, DataMapTrapMapping dataMap)
          Hidden constructor (abstract class).
 
Method Summary
 boolean equals(Object obj)
           
 DataMapTrapMapping getDataMap()
          Returns the mapping to build the dataMap field of SnmpTrap from a JMX notification.
 SnmpOid getSource()
          Returns the source field of SnmpTrap.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SnmpTrapMapping

protected SnmpTrapMapping(SnmpOid source,
                          DataMapTrapMapping dataMap)
Hidden constructor (abstract class).

Parameters:
source - source field of SnmpTrap.
dataMap - Mapping to build the dataMap field of SnmpTrap from a JMX notification.
Method Detail

getSource

public final SnmpOid getSource()
Returns the source field of SnmpTrap.

Returns:
source field of SnmpTrap.

getDataMap

public final DataMapTrapMapping getDataMap()
Returns the mapping to build the dataMap field of SnmpTrap from a JMX notification.

Returns:
Mapping to build the dataMap field of SnmpTrap from a JMX notification.

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2012-2013 snmpAdaptor4j. All Rights Reserved.