org.opennms.netmgt.snmp.snmp4j
Class Snmp4JTrapNotifier.Snmp4JV1TrapInformation

java.lang.Object
  extended by org.opennms.netmgt.snmp.TrapInformation
      extended by org.opennms.netmgt.snmp.snmp4j.Snmp4JTrapNotifier.Snmp4JV1TrapInformation
All Implemented Interfaces:
TrapNotification
Enclosing class:
Snmp4JTrapNotifier

public static class Snmp4JTrapNotifier.Snmp4JV1TrapInformation
extends TrapInformation


Constructor Summary
protected Snmp4JTrapNotifier.Snmp4JV1TrapInformation(InetAddress agent, String community, org.snmp4j.PDUv1 pdu, TrapProcessor trapProcessor)
           
 
Method Summary
protected  int getPduLength()
           
protected  long getTimeStamp()
           
protected  InetAddress getTrapAddress()
           
protected  TrapIdentity getTrapIdentity()
           
protected  org.snmp4j.smi.VariableBinding getVarBindAt(int i)
           
protected  String getVersion()
           
protected  void processVarBindAt(int i)
           
 
Methods inherited from class org.opennms.netmgt.snmp.TrapInformation
getAgent, getAgentAddress, getCommunity, getTrapProcessor, log, processTrap, processVarBind, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Snmp4JTrapNotifier.Snmp4JV1TrapInformation

protected Snmp4JTrapNotifier.Snmp4JV1TrapInformation(InetAddress agent,
                                                     String community,
                                                     org.snmp4j.PDUv1 pdu,
                                                     TrapProcessor trapProcessor)
Method Detail

getTrapAddress

protected InetAddress getTrapAddress()
Specified by:
getTrapAddress in class TrapInformation

getVersion

protected String getVersion()
Specified by:
getVersion in class TrapInformation

getPduLength

protected int getPduLength()
Specified by:
getPduLength in class TrapInformation

getTimeStamp

protected long getTimeStamp()
Specified by:
getTimeStamp in class TrapInformation

getTrapIdentity

protected TrapIdentity getTrapIdentity()
Specified by:
getTrapIdentity in class TrapInformation

getVarBindAt

protected org.snmp4j.smi.VariableBinding getVarBindAt(int i)

processVarBindAt

protected void processVarBindAt(int i)
Specified by:
processVarBindAt in class TrapInformation


Copyright © 2009. All Rights Reserved.