org.snmp4j.agent.mo.snmp4j
Class Snmp4jConfigMib

java.lang.Object
  extended by org.snmp4j.agent.mo.snmp4j.Snmp4jConfigMib
All Implemented Interfaces:
MOGroup

public class Snmp4jConfigMib
extends java.lang.Object
implements MOGroup


Nested Class Summary
 class Snmp4jConfigMib.Snmp4jCfgSecSrcAddrValidation
           
static class Snmp4jConfigMib.Snmp4jCfgSecSrcAddrValidationEnum
           
static class Snmp4jConfigMib.Snmp4jCfgStorageFormatEnum
           
static class Snmp4jConfigMib.Snmp4jCfgStorageOperationEnum
           
static class Snmp4jConfigMib.Snmp4jCfgStorageRestoreModeEnum
           
 
Field Summary
static int colSnmp4jCfgStorageID
           
static int colSnmp4jCfgStorageLastRestore
           
static int colSnmp4jCfgStorageLastStore
           
static int colSnmp4jCfgStorageOperation
           
static int colSnmp4jCfgStoragePath
           
static int colSnmp4jCfgStorageRestoreMode
           
static int colSnmp4jCfgStorageStatus
           
static int colSnmp4jCfgStorageStorageType
           
static int idxSnmp4jCfgStorageID
           
static int idxSnmp4jCfgStorageLastRestore
           
static int idxSnmp4jCfgStorageLastStore
           
static int idxSnmp4jCfgStorageOperation
           
static int idxSnmp4jCfgStoragePath
           
static int idxSnmp4jCfgStorageRestoreMode
           
static int idxSnmp4jCfgStorageStatus
           
static int idxSnmp4jCfgStorageStorageType
           
static org.snmp4j.smi.OID oidSnmp4jCfgSecSrcAddrValidation
           
static org.snmp4j.smi.OID oidSnmp4jCfgStorageEntry
           
protected  java.util.Map<java.lang.CharSequence,MOPersistenceProvider> persistenceProvider
           
static org.snmp4j.smi.OID PRIMARY_INDEX
           
protected  MOPersistenceProvider primaryPersistence
           
protected  SnmpCommunityMIB snmpCommunityMIB
           
protected  SysUpTime sysUpTime
           
 
Constructor Summary
Snmp4jConfigMib(SysUpTime sysUpTime)
           
 
Method Summary
 void addPersistenceProvider(MOPersistenceProvider provider)
           
 SnmpCommunityMIB getCoexistenceInfoProvider()
           
 MOPersistenceProvider getPersistenceProvider(java.lang.String id)
           
 MOPersistenceProvider getPrimaryPersistence()
           
 MOTable getSnmp4jCfgStorageEntry()
           
 void registerMOs(MOServer server, org.snmp4j.smi.OctetString context)
          Registers the managed objects of this group with the server for the supplied context.
 void setPrimaryProvider(MOPersistenceProvider persistenceProvider)
           
 void setSnmpCommunityMIB(SnmpCommunityMIB snmpCommunityMIB)
           
 void unregisterMOs(MOServer server, org.snmp4j.smi.OctetString context)
          Unregisters the managed objects of this group from the supplied server and from the supplied context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

oidSnmp4jCfgSecSrcAddrValidation

public static final org.snmp4j.smi.OID oidSnmp4jCfgSecSrcAddrValidation

oidSnmp4jCfgStorageEntry

public static final org.snmp4j.smi.OID oidSnmp4jCfgStorageEntry

colSnmp4jCfgStoragePath

public static final int colSnmp4jCfgStoragePath
See Also:
Constant Field Values

colSnmp4jCfgStorageID

public static final int colSnmp4jCfgStorageID
See Also:
Constant Field Values

colSnmp4jCfgStorageLastStore

public static final int colSnmp4jCfgStorageLastStore
See Also:
Constant Field Values

colSnmp4jCfgStorageLastRestore

public static final int colSnmp4jCfgStorageLastRestore
See Also:
Constant Field Values

colSnmp4jCfgStorageRestoreMode

public static final int colSnmp4jCfgStorageRestoreMode
See Also:
Constant Field Values

colSnmp4jCfgStorageOperation

public static final int colSnmp4jCfgStorageOperation
See Also:
Constant Field Values

colSnmp4jCfgStorageStorageType

public static final int colSnmp4jCfgStorageStorageType
See Also:
Constant Field Values

colSnmp4jCfgStorageStatus

public static final int colSnmp4jCfgStorageStatus
See Also:
Constant Field Values

idxSnmp4jCfgStoragePath

public static final int idxSnmp4jCfgStoragePath
See Also:
Constant Field Values

idxSnmp4jCfgStorageID

public static final int idxSnmp4jCfgStorageID
See Also:
Constant Field Values

idxSnmp4jCfgStorageLastStore

public static final int idxSnmp4jCfgStorageLastStore
See Also:
Constant Field Values

idxSnmp4jCfgStorageLastRestore

public static final int idxSnmp4jCfgStorageLastRestore
See Also:
Constant Field Values

idxSnmp4jCfgStorageRestoreMode

public static final int idxSnmp4jCfgStorageRestoreMode
See Also:
Constant Field Values

idxSnmp4jCfgStorageOperation

public static final int idxSnmp4jCfgStorageOperation
See Also:
Constant Field Values

idxSnmp4jCfgStorageStorageType

public static final int idxSnmp4jCfgStorageStorageType
See Also:
Constant Field Values

idxSnmp4jCfgStorageStatus

public static final int idxSnmp4jCfgStorageStatus
See Also:
Constant Field Values

PRIMARY_INDEX

public static final org.snmp4j.smi.OID PRIMARY_INDEX

snmpCommunityMIB

protected SnmpCommunityMIB snmpCommunityMIB

persistenceProvider

protected java.util.Map<java.lang.CharSequence,MOPersistenceProvider> persistenceProvider

primaryPersistence

protected MOPersistenceProvider primaryPersistence

sysUpTime

protected SysUpTime sysUpTime
Constructor Detail

Snmp4jConfigMib

public Snmp4jConfigMib(SysUpTime sysUpTime)
Method Detail

getSnmp4jCfgStorageEntry

public MOTable getSnmp4jCfgStorageEntry()

getPrimaryPersistence

public MOPersistenceProvider getPrimaryPersistence()

registerMOs

public void registerMOs(MOServer server,
                        org.snmp4j.smi.OctetString context)
                 throws DuplicateRegistrationException
Description copied from interface: MOGroup
Registers the managed objects of this group with the server for the supplied context.

Specified by:
registerMOs in interface MOGroup
Parameters:
server - the MOServer where to register the managed objects.
context - the context to use (may be null if no specific context is selected).
Throws:
DuplicateRegistrationException - if a managed object's scope (i.e. lower bound) is already registered at the server.

unregisterMOs

public void unregisterMOs(MOServer server,
                          org.snmp4j.smi.OctetString context)
Description copied from interface: MOGroup
Unregisters the managed objects of this group from the supplied server and from the supplied context.

Specified by:
unregisterMOs in interface MOGroup
Parameters:
server - the MOServer where to unregister the managed objects.
context - the context to use (may be null if no specific context is selected).

setSnmpCommunityMIB

public void setSnmpCommunityMIB(SnmpCommunityMIB snmpCommunityMIB)

setPrimaryProvider

public void setPrimaryProvider(MOPersistenceProvider persistenceProvider)

addPersistenceProvider

public void addPersistenceProvider(MOPersistenceProvider provider)

getPersistenceProvider

public MOPersistenceProvider getPersistenceProvider(java.lang.String id)

getCoexistenceInfoProvider

public SnmpCommunityMIB getCoexistenceInfoProvider()

Copyright 2005-2010 Frank Fock (SNMP4J.org)

Copyright © 2011 SNMP4J.org. All Rights Reserved.