Class AgentppTestMib
java.lang.Object
org.snmp4j.agent.agentx.subagent.test.AgentppTestMib
- All Implemented Interfaces:
org.snmp4j.agent.MOGroup
The
AgentppTestMib implements the AGENTPP-TEST-MIB for testing agent capabilities.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassTheAgentppTestSessionAttrEntryRowrepresents a conceptual row of theagentppTestSessionAttrEntrytable.static final classTheAgentppTestSessionIndexStrategyEnumdefines the named values of theagentppTestSessionIndexStrategycolumn.classTheAgentppTestSessionsEntryRowrepresents a conceptual row of theagentppTestSessionsEntrytable.classTheAgentppTestSharedEntryRowrepresents a conceptual row of theagentppTestSharedEntrytable.classTheAgentppTestSharedExtEntryRowrepresents a conceptual row of theagentppTestSharedExtEntrytable.classTheAgentppTestSparseEntryRowrepresents a conceptual row of theagentppTestSparseEntrytable.classTheAgentppTestTimeoutclass implements theagentppTestTimeoutscalar managed object. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intColumn sub-identifier of theagentppTestRowCreationcolumn.static final intColumn sub-identifier of theagentppTestSessionIndexStrategycolumn.static final intColumn sub-identifier of theagentppTestSharedExtTableRowStatuscolumn.static final intColumn sub-identifier of theagentppTestSharedExtValueIntcolumn.static final intColumn sub-identifier of theagentppTestSharedExtValueStringcolumn.static final intColumn sub-identifier of theagentppTestSharedTableCreationTimecolumn.static final intColumn sub-identifier of theagentppTestSharedTableDelaycolumn.static final intColumn sub-identifier of theagentppTestSharedTableRowStatuscolumn.static final intColumn sub-identifier of theagentppTestSharedTableSessioncolumn.static final intColumn sub-identifier of theagentppTestSparseCol1column.static final intColumn sub-identifier of theagentppTestSparseCol2column.static final intColumn sub-identifier of theagentppTestSparseCol3column.static final intColumn sub-identifier of theagentppTestSparseRowStatuscolumn.static final intZero-based column index of theagentppTestRowCreationcolumn.static final intZero-based column index of theagentppTestSessionIndexStrategycolumn.static final intZero-based column index of theagentppTestSharedExtTableRowStatuscolumn.static final intZero-based column index of theagentppTestSharedExtValueIntcolumn.static final intZero-based column index of theagentppTestSharedExtValueStringcolumn.static final intZero-based column index of theagentppTestSharedTableCreationTimecolumn.static final intZero-based column index of theagentppTestSharedTableDelaycolumn.static final intZero-based column index of theagentppTestSharedTableRowStatuscolumn.static final intZero-based column index of theagentppTestSharedTableSessioncolumn.static final intZero-based column index of theagentppTestSparseCol1column.static final intZero-based column index of theagentppTestSparseCol2column.static final intZero-based column index of theagentppTestSparseCol3column.static final intZero-based column index of theagentppTestSparseRowStatuscolumn.static final org.snmp4j.smi.OIDOID of this MIB module for usage which can be used for its identification.static final org.snmp4j.smi.OIDOID of the conceptual row (entry) objectagentppTestSessionAttrEntry.static final org.snmp4j.smi.OIDOID of the index objectagentppTestSessionIndexof tableagentppTestSessionsEntry.static final org.snmp4j.smi.OIDOID of the conceptual row (entry) objectagentppTestSessionsEntry.static final org.snmp4j.smi.OIDOID of the conceptual row (entry) objectagentppTestSharedEntry.static final org.snmp4j.smi.OIDOID of the conceptual row (entry) objectagentppTestSharedExtEntry.static final org.snmp4j.smi.OIDOID of the index objectagentppTestSharedExtTableIndexof tableagentppTestSharedExtEntry.static final org.snmp4j.smi.OIDOID of the index objectagentppTestSharedTableIndexof tableagentppTestSharedEntry.static final org.snmp4j.smi.OIDOID of the conceptual row (entry) objectagentppTestSparseEntry.static final org.snmp4j.smi.OIDOID of the index objectagentppTestSparseIndexof tableagentppTestSparseEntry.static final org.snmp4j.smi.OIDOID of the scalar objectagentppTestTimeout.static final StringName of theDateAndTimetextual convention used byagentppTestSharedEntrycolumns.static final StringName of theRowStatustextual convention used byagentppTestSharedEntrycolumns.static final StringName of theSnmpAdminStringtextual convention used byagentppTestSparseEntrycolumns.static final StringName of the SNMP-FRAMEWORK-MIB module providing textual conventions foragentppTestSparseEntrycolumns.static final StringName of the SNMPv2-TC module providing textual conventions foragentppTestSharedEntrycolumns. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructs a AgentppTestMib instance without actually creating itsManagedObjectinstances.AgentppTestMib(org.snmp4j.agent.mo.MOFactory moFactory) Constructs a AgentppTestMib instance and actually creates itsManagedObjectinstances using the suppliedMOFactory(by callingcreateMO(MOFactory moFactory)). -
Method Summary
Modifier and TypeMethodDescriptionvoidaddImportedTCsToFactory(org.snmp4j.agent.mo.MOFactory moFactory) Registers the textual conventions imported from other MIB modules with the given factory.protected voidaddTCsToFactory(org.snmp4j.agent.mo.MOFactory moFactory) Registers the textual conventions defined by this MIB module with the given factory.protected voidcreateMO(org.snmp4j.agent.mo.MOFactory moFactory) Create the ManagedObjects defined for this MIB module using the specifiedMOFactory.org.snmp4j.agent.mo.MOTable<AgentppTestMib.AgentppTestSessionAttrEntryRow, org.snmp4j.agent.mo.MOColumn, org.snmp4j.agent.mo.MOTableModel<AgentppTestMib.AgentppTestSessionAttrEntryRow>> Gets theagentppTestSessionAttrEntrytable managed object.org.snmp4j.agent.mo.MOTable<AgentppTestMib.AgentppTestSessionsEntryRow, org.snmp4j.agent.mo.MOColumn, org.snmp4j.agent.mo.MOTableModel<AgentppTestMib.AgentppTestSessionsEntryRow>> Gets theagentppTestSessionsEntrytable managed object.org.snmp4j.agent.mo.MOTable<AgentppTestMib.AgentppTestSharedEntryRow, org.snmp4j.agent.mo.MOColumn, org.snmp4j.agent.mo.MOTableModel<AgentppTestMib.AgentppTestSharedEntryRow>> Gets theagentppTestSharedEntrytable managed object.org.snmp4j.agent.mo.MOTable<AgentppTestMib.AgentppTestSharedExtEntryRow, org.snmp4j.agent.mo.MOColumn, org.snmp4j.agent.mo.MOTableModel<AgentppTestMib.AgentppTestSharedExtEntryRow>> Gets theagentppTestSharedExtEntrytable managed object.org.snmp4j.agent.mo.MOTable<AgentppTestMib.AgentppTestSparseEntryRow, org.snmp4j.agent.mo.MOColumn, org.snmp4j.agent.mo.MOTableModel<AgentppTestMib.AgentppTestSparseEntryRow>> Gets theagentppTestSparseEntrytable managed object.org.snmp4j.agent.mo.MOScalar<org.snmp4j.smi.UnsignedInteger32> Gets theagentppTestTimeoutscalar managed object.static org.snmp4j.agent.mo.MOFactoryGets aMOFactorythat creates the shared tables used by this test MIB module.voidregisterMOs(org.snmp4j.agent.MOServer server, org.snmp4j.smi.OctetString context) voidunregisterMOs(org.snmp4j.agent.MOServer server, org.snmp4j.smi.OctetString context)
-
Field Details
-
oidAgentppTestMib
public static final org.snmp4j.smi.OID oidAgentppTestMibOID of this MIB module for usage which can be used for its identification. -
oidAgentppTestTimeout
public static final org.snmp4j.smi.OID oidAgentppTestTimeoutOID of the scalar objectagentppTestTimeout. -
tcModuleSNMPv2Tc
Name of the SNMPv2-TC module providing textual conventions foragentppTestSharedEntrycolumns.- See Also:
-
tcDefDateAndTime
Name of theDateAndTimetextual convention used byagentppTestSharedEntrycolumns.- See Also:
-
tcDefRowStatus
Name of theRowStatustextual convention used byagentppTestSharedEntrycolumns.- See Also:
-
oidAgentppTestSessionsEntry
public static final org.snmp4j.smi.OID oidAgentppTestSessionsEntryOID of the conceptual row (entry) objectagentppTestSessionsEntry. -
oidAgentppTestSessionIndex
public static final org.snmp4j.smi.OID oidAgentppTestSessionIndexOID of the index objectagentppTestSessionIndexof tableagentppTestSessionsEntry. -
colAgentppTestRowCreation
public static final int colAgentppTestRowCreationColumn sub-identifier of theagentppTestRowCreationcolumn.- See Also:
-
idxAgentppTestRowCreation
public static final int idxAgentppTestRowCreationZero-based column index of theagentppTestRowCreationcolumn.- See Also:
-
oidAgentppTestSparseEntry
public static final org.snmp4j.smi.OID oidAgentppTestSparseEntryOID of the conceptual row (entry) objectagentppTestSparseEntry. -
oidAgentppTestSparseIndex
public static final org.snmp4j.smi.OID oidAgentppTestSparseIndexOID of the index objectagentppTestSparseIndexof tableagentppTestSparseEntry. -
tcModuleSnmpFrameworkMib
Name of the SNMP-FRAMEWORK-MIB module providing textual conventions foragentppTestSparseEntrycolumns.- See Also:
-
tcDefSnmpAdminString
Name of theSnmpAdminStringtextual convention used byagentppTestSparseEntrycolumns.- See Also:
-
colAgentppTestSparseCol1
public static final int colAgentppTestSparseCol1Column sub-identifier of theagentppTestSparseCol1column.- See Also:
-
colAgentppTestSparseCol2
public static final int colAgentppTestSparseCol2Column sub-identifier of theagentppTestSparseCol2column.- See Also:
-
colAgentppTestSparseCol3
public static final int colAgentppTestSparseCol3Column sub-identifier of theagentppTestSparseCol3column.- See Also:
-
colAgentppTestSparseRowStatus
public static final int colAgentppTestSparseRowStatusColumn sub-identifier of theagentppTestSparseRowStatuscolumn.- See Also:
-
idxAgentppTestSparseCol1
public static final int idxAgentppTestSparseCol1Zero-based column index of theagentppTestSparseCol1column.- See Also:
-
idxAgentppTestSparseCol2
public static final int idxAgentppTestSparseCol2Zero-based column index of theagentppTestSparseCol2column.- See Also:
-
idxAgentppTestSparseCol3
public static final int idxAgentppTestSparseCol3Zero-based column index of theagentppTestSparseCol3column.- See Also:
-
idxAgentppTestSparseRowStatus
public static final int idxAgentppTestSparseRowStatusZero-based column index of theagentppTestSparseRowStatuscolumn.- See Also:
-
oidAgentppTestSessionAttrEntry
public static final org.snmp4j.smi.OID oidAgentppTestSessionAttrEntryOID of the conceptual row (entry) objectagentppTestSessionAttrEntry. -
colAgentppTestSessionIndexStrategy
public static final int colAgentppTestSessionIndexStrategyColumn sub-identifier of theagentppTestSessionIndexStrategycolumn.- See Also:
-
idxAgentppTestSessionIndexStrategy
public static final int idxAgentppTestSessionIndexStrategyZero-based column index of theagentppTestSessionIndexStrategycolumn.- See Also:
-
-
Constructor Details
-
AgentppTestMib
protected AgentppTestMib()Constructs a AgentppTestMib instance without actually creating itsManagedObjectinstances. This has to be done in a sub-class constructor or after construction by callingcreateMO(MOFactory moFactory). -
AgentppTestMib
public AgentppTestMib(org.snmp4j.agent.mo.MOFactory moFactory) Constructs a AgentppTestMib instance and actually creates itsManagedObjectinstances using the suppliedMOFactory(by callingcreateMO(MOFactory moFactory)).- Parameters:
moFactory- theMOFactoryto be used to create the managed objects for this module.
-
-
Method Details
-
createMO
protected void createMO(org.snmp4j.agent.mo.MOFactory moFactory) Create the ManagedObjects defined for this MIB module using the specifiedMOFactory.- Parameters:
moFactory- theMOFactoryinstance to use for object creation.
-
getAgentppTestTimeout
public org.snmp4j.agent.mo.MOScalar<org.snmp4j.smi.UnsignedInteger32> getAgentppTestTimeout()Gets theagentppTestTimeoutscalar managed object.- Returns:
- the
MOScalarinstance representing theagentppTestTimeoutobject.
-
getAgentppTestSessionsEntry
public org.snmp4j.agent.mo.MOTable<AgentppTestMib.AgentppTestSessionsEntryRow, org.snmp4j.agent.mo.MOColumn, org.snmp4j.agent.mo.MOTableModel<AgentppTestMib.AgentppTestSessionsEntryRow>> getAgentppTestSessionsEntry()Gets theagentppTestSessionsEntrytable managed object.- Returns:
- the
MOTableinstance representing theagentppTestSessionsEntrytable.
-
getAgentppTestSparseEntry
public org.snmp4j.agent.mo.MOTable<AgentppTestMib.AgentppTestSparseEntryRow, org.snmp4j.agent.mo.MOColumn, org.snmp4j.agent.mo.MOTableModel<AgentppTestMib.AgentppTestSparseEntryRow>> getAgentppTestSparseEntry()Gets theagentppTestSparseEntrytable managed object.- Returns:
- the
MOTableinstance representing theagentppTestSparseEntrytable.
-
getAgentppTestSessionAttrEntry
public org.snmp4j.agent.mo.MOTable<AgentppTestMib.AgentppTestSessionAttrEntryRow, org.snmp4j.agent.mo.MOColumn, org.snmp4j.agent.mo.MOTableModel<AgentppTestMib.AgentppTestSessionAttrEntryRow>> getAgentppTestSessionAttrEntry()Gets theagentppTestSessionAttrEntrytable managed object.- Returns:
- the
MOTableinstance representing theagentppTestSessionAttrEntrytable.
-
registerMOs
public void registerMOs(org.snmp4j.agent.MOServer server, org.snmp4j.smi.OctetString context) throws org.snmp4j.agent.DuplicateRegistrationException - Specified by:
registerMOsin interfaceorg.snmp4j.agent.MOGroup- Throws:
org.snmp4j.agent.DuplicateRegistrationException
-
unregisterMOs
public void unregisterMOs(org.snmp4j.agent.MOServer server, org.snmp4j.smi.OctetString context) - Specified by:
unregisterMOsin interfaceorg.snmp4j.agent.MOGroup
-
addTCsToFactory
protected void addTCsToFactory(org.snmp4j.agent.mo.MOFactory moFactory) Registers the textual conventions defined by this MIB module with the given factory.- Parameters:
moFactory- theMOFactoryto add the textual conventions to.
-
addImportedTCsToFactory
public void addImportedTCsToFactory(org.snmp4j.agent.mo.MOFactory moFactory) Registers the textual conventions imported from other MIB modules with the given factory.- Parameters:
moFactory- theMOFactoryto add the imported textual conventions to.
-