com.adventnet.snmp.mibs.agent
Class InterprettedSubAgent

java.lang.Object
  |
  +--com.adventnet.snmp.snmp2.agent.Cache
        |
        +--com.adventnet.snmp.snmp2.agent.BaseSnmpStore
              |
              +--com.adventnet.snmp.snmp2.agent.BaseSnmpAgent
                    |
                    +--com.adventnet.snmp.snmp2.agent.SnmpAgent
                          |
                          +--com.adventnet.snmp.mibs.agent.InterprettedSubAgent

public class InterprettedSubAgent
extends SnmpAgent

See Also:
Serialized Form

Fields inherited from class com.adventnet.snmp.snmp2.agent.SnmpAgent
aclTable, actionHandlerListener, debug, entry, homeDirectory, isRemoteConfigurable, isV3Adaptor, mibSupportForAdaptor, remoteV3Client, table, v3AdaptorStorage, v3Initialiser, v3UserConfig, viewBasedFlag, windowsSubAgent
 
Fields inherited from class com.adventnet.snmp.snmp2.agent.BaseSnmpAgent
aclTable, AgentScheduler, api, asyncMode, authListener, callbackThread, communityVector, communityWriter, decoder, ENABLE_SNMP_AUTHEN_TRAPS, errstat, isAuthTrapsDisabled, isStartUpTrapDisabled, outTraps, pduRequestHdlr, port, recdPdu, registrationlistener, schedulerHash, sgl, snmpLog, snmpVersion, started, startTime, statusListener, sysORTableListener, systemGroupHandler, TRANSPORT_PROVIDER, trapListener, trapSourceDefault, utilities, v1v2AccessControl, versionInInt, viewBasedFlag
 
Fields inherited from class com.adventnet.snmp.snmp2.agent.BaseSnmpStore
debugLevel, localAddress, oldAddress, oldPort, protocol, session, snmpLog
 
Fields inherited from class com.adventnet.snmp.snmp2.agent.Cache
cache, debug
 
Constructor Summary
InterprettedSubAgent()
          Constructor with no argument.
 
Method Summary
 void initAgent()
          this starts the SnmpAgent under default parameters
 void nativeInit(java.lang.String mibFile, java.lang.String homeDir)
          SnmpAgent nativeInit is overwritten Called in the case when InterprettedAgent acts as a sub agent
 
Methods inherited from class com.adventnet.snmp.snmp2.agent.SnmpAgent
addActionHandler, addRemoteV3Client, addV3Initialiser, authenticate, callback, decodePdu, getAclTableInstance, getEngineBootsFileName, getRemoteV3Client, getSerializeFileName, getSnmpCommunityTableListener, getSnmpNotifyFilterProfileTableListener, getSnmpNotifyFilterTableListener, getSnmpNotifyTableListener, getSnmpTargetAddrExtTableListener, getSnmpTargetAddrTableListener, getSnmpTargetParamsTableListener, getSnmpVacm, getSpinLock, getSubAgent, getUsmUserTableListener, getV3AdaptorStorageMode, getV3Configuration, getV3Initialiser, getVacmAccessTableListener, getVacmContextTableListener, getVacmSecurityToGroupTableListener, getVacmViewTreeFamilyTableListener, getValue, getValue, getValue, getViewBasedFlag, getWindowsSubAgent, initializeAdaptorV3Settings, initSnmpAgent, isRemoteConfigurable, isSnmpV3Compliance, killSnmpAgent, nativeStdOutErr, readValuesFromConf, removeRemoteV3Client, restartSnmpAgent, send, serializeTable, setAclTableInstance, setDebug, setDebugOff, setDebugOn, setEngineBootsFileName, setSerializeFileName, setSnmpV3Compliance, setSnmpVersion, setSpinLock, setSubAgent, setTrapSourceDefault, setV3Configuration, setVacmRemoteConfiguration, setViewBasedFlag, setWindowsSubAgent, stopSnmpAgent
 
Methods inherited from class com.adventnet.snmp.snmp2.agent.BaseSnmpAgent
addAccessListener, addAuthenticationListener, addClientAndOpenSession, addRegistrationListener, addSnmpPduRequestListener, addSnmpSetGroupListener, addSysORTableListener, addSystemGroupListener, addTrapRequestListener, authenticateReceivedCommunity, checkManagerAccess, checkVersion, createProtocolOptions, createStatusEvent, debugPrint, disableAuthTraps, disableStartUpTrap, genPort, getAccessListener, getAsyncMode, getCommunityVector, getDebugLevel, getInetAddresses, getLocalAddress, getMaxThreads, getNoAccessCommunities, getPort, getReadCommunities, getReadCommunity, getRegistrationListener, getSnmpGroup, getSnmpVersion, getSystemGroupListener, getUpTime, getV1v2AccessControl, getV1v2AccessControlTable, getWriteCommunities, getWriteCommunity, handleGetCommunities, handleGetCommunities, handleInformRequest, handleSetCommunity, incrementSnmpOutTraps, isCallbackThread, isStarted, isTrapSourceDefault, removeAuthenticationListener, removeSnmpClient, removeSnmpPduRequestListener, removeSysORTableListener, restartSnmpAgent, scheduleAndProcessRequestEvent, sendAuthenticationFailureTrap, sendGenericTrap, setAgentScheduler, setAsyncMode, setCallbackThread, setCommunityVector, setDebugLevel, setDefaultTrap, setEnableAuthenTraps, setLocalAddress, setMaxThreads, setPort, setPort, setProtocol, setReadCommunities, setReadCommunity, setSnmpVersion, setStarted, setV1v2AccessControl, setV1v2AccessControlTable, setWarmStart, setWriteCommunities, setWriteCommunity
 
Methods inherited from class com.adventnet.snmp.snmp2.agent.BaseSnmpStore
closeAll, finalize, getSnmpAPI, getSnmpSession, getSnmpSession, initSession, initSnmpStore, isAlive, isDebug
 
Methods inherited from class com.adventnet.snmp.snmp2.agent.Cache
getFromCache, getMibOperations, putInCache, setMibOperations
 
Methods inherited from class java.lang.Object
, clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterprettedSubAgent

public InterprettedSubAgent()
Constructor with no argument. it initializes the SnmpAgent with default parameters.
Method Detail

initAgent

public void initAgent()
this starts the SnmpAgent under default parameters

nativeInit

public void nativeInit(java.lang.String mibFile,
                       java.lang.String homeDir)
SnmpAgent nativeInit is overwritten Called in the case when InterprettedAgent acts as a sub agent
Overrides:
nativeInit in class SnmpAgent
Parameters:
mibFile - the name of the mib file.
homeDir - the home directory of the mibfile.