com.adventnet.snmp.ui
Class TrapTasks

java.lang.Object
  |
  +--com.adventnet.snmp.beans.SnmpTrapReceiver
        |
        +--com.adventnet.snmp.ui.TrapTasks

class TrapTasks
extends SnmpTrapReceiver

See Also:
Serialized Form

Field Summary
(package private)  TrapViewer trapviewer
           
 
Fields inherited from class com.adventnet.snmp.beans.SnmpTrapReceiver
api, applet, authPassword, authProtocol, commAuth, community, contextID, contextName, error, isAutoInformResponseEnabled, isCallbackthreadEnabled, isTrapAuthEnabled, listeners, localAddresses, logClient, mibModules, mibOps, options, port, principal, privPassword, privProtocol, protocol, sdf, secModel, session, targets, trapFlag, usmTable, v3Auth, version
 
Constructor Summary
TrapTasks(TrapViewer trapviewer)
           
TrapTasks(TrapViewer trapviewer, java.applet.Applet applet)
           
 
Method Summary
 void debugPrint(java.lang.String debugOutput)
          this function in SnmpClient prints debug message to application debug window or standard error.
(package private)  void logErrorMessage(java.lang.String error)
          All the methods of this class (including sub classes), which needs to redirect an error message to the LogManger or to the standard console, can use this method.
(package private)  void logInfoMessage(java.lang.String info)
          All the methods of this class (including sub classes), which needs to redirect an info message to the LogManger or to the standard console, can use this method.
(package private)  void startReceiver()
           
(package private)  void stopReceiver()
           
 
Methods inherited from class com.adventnet.snmp.beans.SnmpTrapReceiver
addLogClient, addTrapListener, authenticate, callback, cleanup, createUserEntry, finalize, genEvent, getAuthPassword, getAuthProtocol, getCharacterEncoding, getCommunity, getcontextID, getContextID, getContextName, getLocalAddresses, getMibModules, getMibOperations, getMibPath, getPort, getPortWithExceptionMsg, getPrincipal, getPrivPassword, getReceiveBufferSize, getSecurityModel, getSecurityTable, getSimpleDateFormat, getSnmpVersion, getUSMTable, initJdbcParams, initSecurityProvider, initSnmpStore, isCommunityAuthEnabled, isLoadMibsFromDatabase, isOverwriteMibsInDatabase, isSetAutoInformResponse, isSupportedSecurityModel, isTrapAuthEnable, isV3AuthEnabled, loadMibs, openSession, releaseResources, removeTrapListener, setAuthPassword, setAuthProtocol, setAutoInformResponse, setCallbackthread, setCharacterEncoding, setCommunity, setCommunityAuthEnable, setcontextID, setContextID, setContextName, setDebug, setLoadMibsFromDatabase, setLocalAddresses, setMibModules, setMibPath, setOverwriteMibsInDatabase, setPort, setPortWithExceptionMsg, setPrincipal, setPrivPassword, setReceiveBufferSize, setSecurityModel, setSimpleDateFormat, setSnmpVersion, setTrapAuthEnable, setV3AuthEnable, stop, updateMibs
 
Methods inherited from class java.lang.Object
, clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

trapviewer

TrapViewer trapviewer
Constructor Detail

TrapTasks

public TrapTasks(TrapViewer trapviewer)

TrapTasks

public TrapTasks(TrapViewer trapviewer,
                 java.applet.Applet applet)
Method Detail

startReceiver

void startReceiver()

debugPrint

public void debugPrint(java.lang.String debugOutput)
this function in SnmpClient prints debug message to application debug window or standard error.
Overrides:
debugPrint in class SnmpTrapReceiver

stopReceiver

void stopReceiver()

logErrorMessage

void logErrorMessage(java.lang.String error)
Description copied from class: SnmpTrapReceiver
All the methods of this class (including sub classes), which needs to redirect an error message to the LogManger or to the standard console, can use this method. - Mahesh
Overrides:
logErrorMessage in class SnmpTrapReceiver

logInfoMessage

void logInfoMessage(java.lang.String info)
Description copied from class: SnmpTrapReceiver
All the methods of this class (including sub classes), which needs to redirect an info message to the LogManger or to the standard console, can use this method. - Mahesh
Overrides:
logInfoMessage in class SnmpTrapReceiver