com.ibm.di.eventhandler
Class SNMPEventHandler
java.lang.Object
java.lang.Thread
com.ibm.di.server.Monitor
com.ibm.di.eventhandler.Switchboard
com.ibm.di.eventhandler.SNMPEventHandler
- All Implemented Interfaces:
- VersionInfoInterface, ActionListener, Runnable, EventListener
public class SNMPEventHandler
- extends Switchboard
Methods inherited from class com.ibm.di.eventhandler.Switchboard |
actionPerformed, addEventListener, close, debug, debugBreak, debugMsg, dispatchEvent, dump, dumpEntry, dumpProperties, enableDebug, exitProcess, exitProcess, exitRequested, fireEvent, getConfiguration, getDebug, getDebugger, getEventHandlerListener, getExitMessage, getExitRequested, getInterceptor, getLog, getLogCategory, getNullBehavior, getNullBehaviorValue, getNullDefinition, getNullDefinitionValue, getParam, getParent, getProperty, getRecording, getScriptEngine, getServer, getStats, getTaskName, logmsg, logmsg, removeEventHandlerListener, removeEventListener, setConfiguration, setDebug, setDebugger, setEventHandlerListener, setExitMessage, setInterceptor, setLog, setLogCategory, setParam, setParent, setProperty, setRecording, start |
Methods inherited from class com.ibm.di.server.Monitor |
addActionListener, addThread, allThreadsStopped, fireListener, removeActionListener, removeThread, runningALs, runningEHs, setMonitorMessage, threadStarted, threadStopped |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, stop, stop, suspend, toString, yield |
SNMPEventHandler
public SNMPEventHandler()
SNMPEventHandler
public SNMPEventHandler(SNMPEventHandler server,
DatagramPacket packet)
sendPacket
public void sendPacket(DatagramPacket packet)
throws Exception
- Throws:
Exception
run
public void run()
- Specified by:
run
in interface Runnable
- Overrides:
run
in class Thread
handleEvent
public void handleEvent()
addEventParams
public void addEventParams(Entry entry,
com.tivoli.snmp.SnmpPDU pdu)
throws Exception
- Throws:
Exception
getEventParams
public void getEventParams(Entry entry,
com.tivoli.snmp.SnmpPDU pdu)
throws Exception
- Throws:
Exception
addVarBind
public void addVarBind(Entry entry,
com.tivoli.snmp.SnmpPDU pdu)
- Add the varbind list to the entry attributes
createBadValue
public com.tivoli.snmp.data.BadValue createBadValue()
- convenience methods to create SNMP object types
createBoolean
public com.tivoli.snmp.data.Boolean createBoolean(boolean value)
createCounter
public com.tivoli.snmp.data.Counter createCounter(long value)
createCounter64
public com.tivoli.snmp.data.Counter64 createCounter64(long value)
createFixedLengthOctetString
public com.tivoli.snmp.data.FixedLengthOctetString createFixedLengthOctetString(String value)
createFullCounter64
public com.tivoli.snmp.data.FullCounter64 createFullCounter64(BigInteger value)
createGauge
public com.tivoli.snmp.data.Gauge createGauge(long value)
createIPAddress
public com.tivoli.snmp.data.IPAddress createIPAddress(String value)
createNoChange
public com.tivoli.snmp.data.NoChange createNoChange()
createNoSuchInstance
public com.tivoli.snmp.data.NoSuchInstance createNoSuchInstance()
createNoSuchObject
public com.tivoli.snmp.data.NoSuchObject createNoSuchObject()
createNotSupported
public com.tivoli.snmp.data.NotSupported createNotSupported()
createNull
public com.tivoli.snmp.data.Null createNull()
createOctetString
public com.tivoli.snmp.data.OctetString createOctetString(String value)
createOID
public com.tivoli.snmp.data.OID createOID(String value)
createOpaque
public com.tivoli.snmp.data.Opaque createOpaque(byte[] value)
createTimeTicks
public com.tivoli.snmp.data.TimeTicks createTimeTicks(long value)
setExitRequested
public void setExitRequested(boolean value)
- Override setExitRequested
- Overrides:
setExitRequested
in class Switchboard
getVersion
public String getVersion()
- Return version information