net.sf.snmpadaptor4j.core.mapping
Class SimpleDataMapTrapMapping

java.lang.Object
  extended by net.sf.snmpadaptor4j.core.mapping.DataMapTrapMapping
      extended by net.sf.snmpadaptor4j.core.mapping.SimpleDataMapTrapMapping
All Implemented Interfaces:
Serializable

public final class SimpleDataMapTrapMapping
extends DataMapTrapMapping

Object containing the mapping to build the dataMap field of SnmpTrap from a userData field of JMX notification and as simple object.

Author:
Jean-Philippe MINETTI
See Also:
Serialized Form

Method Summary
 boolean equals(Object obj)
           
 SnmpOid getUserDataOid()
          Returns the OID of userData field of JMX notification.
 SnmpDataType getUserDataType()
          Returns the SNMP data type of userData field of JMX notification.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class net.sf.snmpadaptor4j.core.mapping.DataMapTrapMapping
getMessageOid, getSequenceNumberOid, isHasSystemInfo
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getUserDataType

public SnmpDataType getUserDataType()
Returns the SNMP data type of userData field of JMX notification.

Returns:
SNMP data type of userData field of JMX notification (never NULL).

getUserDataOid

public SnmpOid getUserDataOid()
Returns the OID of userData field of JMX notification.

Returns:
OID of userData field of JMX notification (never NULL).

hashCode

public int hashCode()
Overrides:
hashCode in class DataMapTrapMapping

equals

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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012-2013 snmpAdaptor4j. All Rights Reserved.