- java.lang.Object
-
- org.snmp4j.agent.example.Snmp4jDemoMib
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
Snmp4jDemoMib.Snmp4jDemoEntryRow
class
Snmp4jDemoMib.Snmp4jDemoScalar
class
Snmp4jDemoMib.Snmp4jDemoSparseEntryRow
class
Snmp4jDemoMib.Snmp4jDemoSparseTableType
static class
Snmp4jDemoMib.Snmp4jDemoSparseTableTypeEnum
static class
Snmp4jDemoMib.Snmp4jDemoTableRowModificationEnum
class
Snmp4jDemoMib.SparseTableColumn
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description protected
Snmp4jDemoMib()
Constructs a Snmp4jDemoMib instance without actually creating itsManagedObject
instances.Snmp4jDemoMib(MOFactory moFactory)
Constructs a Snmp4jDemoMib instance and actually creates itsManagedObject
instances using the suppliedMOFactory
(by callingcreateMO(MOFactory moFactory)
).
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addImportedTCsToFactory(MOFactory moFactory)
protected void
addTCsToFactory(MOFactory moFactory)
protected void
createMO(MOFactory moFactory)
Create the ManagedObjects defined for this MIB module using the specifiedMOFactory
.MOTable<Snmp4jDemoMib.Snmp4jDemoEntryRow,MOColumn,MOMutableTableModel<Snmp4jDemoMib.Snmp4jDemoEntryRow>>
getSnmp4jDemoEntry()
MOScalar<org.snmp4j.smi.OctetString>
getSnmp4jDemoScalar()
MOTable<Snmp4jDemoMib.Snmp4jDemoSparseEntryRow,MOColumn,MOMutableTableModel<Snmp4jDemoMib.Snmp4jDemoSparseEntryRow>>
getSnmp4jDemoSparseEntry()
MOScalar<org.snmp4j.smi.Integer32>
getSnmp4jDemoSparseTableType()
void
registerMOs(MOServer server, org.snmp4j.smi.OctetString context)
Registers the managed objects of this group with the server for the supplied context.void
snmp4jDemoEvent(NotificationOriginator notificationOriginator, org.snmp4j.smi.OctetString context, org.snmp4j.smi.VariableBinding[] vbs)
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.
-
-
-
Field Detail
-
oidSnmp4jDemoMib
public static final org.snmp4j.smi.OID oidSnmp4jDemoMib
OID of this MIB module for usage which can be used for its identification.
-
oidSnmp4jDemoScalar
public static final org.snmp4j.smi.OID oidSnmp4jDemoScalar
-
oidSnmp4jDemoSparseTableType
public static final org.snmp4j.smi.OID oidSnmp4jDemoSparseTableType
-
oidSnmp4jDemoEvent
public static final org.snmp4j.smi.OID oidSnmp4jDemoEvent
-
oidTrapVarSnmp4jDemoEntryCol3
public static final org.snmp4j.smi.OID oidTrapVarSnmp4jDemoEntryCol3
-
oidTrapVarSnmp4jDemoTableRowModification
public static final org.snmp4j.smi.OID oidTrapVarSnmp4jDemoTableRowModification
-
oidSnmp4jDemoEntry
public static final org.snmp4j.smi.OID oidSnmp4jDemoEntry
-
oidSnmp4jDemoEntryIndex1
public static final org.snmp4j.smi.OID oidSnmp4jDemoEntryIndex1
-
oidSnmp4jDemoEntryIndex2
public static final org.snmp4j.smi.OID oidSnmp4jDemoEntryIndex2
-
tcModuleSNMPv2Tc
public static final java.lang.String tcModuleSNMPv2Tc
- See Also:
- Constant Field Values
-
tcDefTimeStamp
public static final java.lang.String tcDefTimeStamp
- See Also:
- Constant Field Values
-
tcDefStorageType
public static final java.lang.String tcDefStorageType
- See Also:
- Constant Field Values
-
tcDefRowStatus
public static final java.lang.String tcDefRowStatus
- See Also:
- Constant Field Values
-
colSnmp4jDemoEntryCol1
public static final int colSnmp4jDemoEntryCol1
- See Also:
- Constant Field Values
-
colSnmp4jDemoEntryCol2
public static final int colSnmp4jDemoEntryCol2
- See Also:
- Constant Field Values
-
colSnmp4jDemoEntryCol3
public static final int colSnmp4jDemoEntryCol3
- See Also:
- Constant Field Values
-
colSnmp4jDemoEntryCol4
public static final int colSnmp4jDemoEntryCol4
- See Also:
- Constant Field Values
-
colSnmp4jDemoEntryCol5
public static final int colSnmp4jDemoEntryCol5
- See Also:
- Constant Field Values
-
colSnmp4jDemoEntryCol6
public static final int colSnmp4jDemoEntryCol6
- See Also:
- Constant Field Values
-
colSnmp4jDemoTableRowModification
public static final int colSnmp4jDemoTableRowModification
- See Also:
- Constant Field Values
-
idxSnmp4jDemoEntryCol1
public static final int idxSnmp4jDemoEntryCol1
- See Also:
- Constant Field Values
-
idxSnmp4jDemoEntryCol2
public static final int idxSnmp4jDemoEntryCol2
- See Also:
- Constant Field Values
-
idxSnmp4jDemoEntryCol3
public static final int idxSnmp4jDemoEntryCol3
- See Also:
- Constant Field Values
-
idxSnmp4jDemoEntryCol4
public static final int idxSnmp4jDemoEntryCol4
- See Also:
- Constant Field Values
-
idxSnmp4jDemoEntryCol5
public static final int idxSnmp4jDemoEntryCol5
- See Also:
- Constant Field Values
-
idxSnmp4jDemoEntryCol6
public static final int idxSnmp4jDemoEntryCol6
- See Also:
- Constant Field Values
-
idxSnmp4jDemoTableRowModification
public static final int idxSnmp4jDemoTableRowModification
- See Also:
- Constant Field Values
-
oidSnmp4jDemoSparseEntry
public static final org.snmp4j.smi.OID oidSnmp4jDemoSparseEntry
-
oidSnmp4jDemoSparseTableIndex
public static final org.snmp4j.smi.OID oidSnmp4jDemoSparseTableIndex
-
tcModuleSnmp4jDemoMib
public static final java.lang.String tcModuleSnmp4jDemoMib
- See Also:
- Constant Field Values
-
tcDefSparseTableColumn
public static final java.lang.String tcDefSparseTableColumn
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableRowStatus
public static final int colSnmp4jDemoSparseTableRowStatus
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol1
public static final int colSnmp4jDemoSparseTableCol1
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol2
public static final int colSnmp4jDemoSparseTableCol2
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol3
public static final int colSnmp4jDemoSparseTableCol3
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol4
public static final int colSnmp4jDemoSparseTableCol4
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol5
public static final int colSnmp4jDemoSparseTableCol5
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol6
public static final int colSnmp4jDemoSparseTableCol6
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol7
public static final int colSnmp4jDemoSparseTableCol7
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol8
public static final int colSnmp4jDemoSparseTableCol8
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol9
public static final int colSnmp4jDemoSparseTableCol9
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol10
public static final int colSnmp4jDemoSparseTableCol10
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol11
public static final int colSnmp4jDemoSparseTableCol11
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol12
public static final int colSnmp4jDemoSparseTableCol12
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol13
public static final int colSnmp4jDemoSparseTableCol13
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol14
public static final int colSnmp4jDemoSparseTableCol14
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol15
public static final int colSnmp4jDemoSparseTableCol15
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol16
public static final int colSnmp4jDemoSparseTableCol16
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol17
public static final int colSnmp4jDemoSparseTableCol17
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol18
public static final int colSnmp4jDemoSparseTableCol18
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol19
public static final int colSnmp4jDemoSparseTableCol19
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol20
public static final int colSnmp4jDemoSparseTableCol20
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol21
public static final int colSnmp4jDemoSparseTableCol21
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol22
public static final int colSnmp4jDemoSparseTableCol22
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol23
public static final int colSnmp4jDemoSparseTableCol23
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol24
public static final int colSnmp4jDemoSparseTableCol24
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol25
public static final int colSnmp4jDemoSparseTableCol25
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol26
public static final int colSnmp4jDemoSparseTableCol26
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol27
public static final int colSnmp4jDemoSparseTableCol27
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol28
public static final int colSnmp4jDemoSparseTableCol28
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol29
public static final int colSnmp4jDemoSparseTableCol29
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol30
public static final int colSnmp4jDemoSparseTableCol30
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol31
public static final int colSnmp4jDemoSparseTableCol31
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol32
public static final int colSnmp4jDemoSparseTableCol32
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol33
public static final int colSnmp4jDemoSparseTableCol33
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol34
public static final int colSnmp4jDemoSparseTableCol34
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol35
public static final int colSnmp4jDemoSparseTableCol35
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol36
public static final int colSnmp4jDemoSparseTableCol36
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol37
public static final int colSnmp4jDemoSparseTableCol37
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol38
public static final int colSnmp4jDemoSparseTableCol38
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol39
public static final int colSnmp4jDemoSparseTableCol39
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol40
public static final int colSnmp4jDemoSparseTableCol40
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol41
public static final int colSnmp4jDemoSparseTableCol41
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol42
public static final int colSnmp4jDemoSparseTableCol42
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol43
public static final int colSnmp4jDemoSparseTableCol43
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol44
public static final int colSnmp4jDemoSparseTableCol44
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol45
public static final int colSnmp4jDemoSparseTableCol45
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol46
public static final int colSnmp4jDemoSparseTableCol46
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol47
public static final int colSnmp4jDemoSparseTableCol47
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol48
public static final int colSnmp4jDemoSparseTableCol48
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol49
public static final int colSnmp4jDemoSparseTableCol49
- See Also:
- Constant Field Values
-
colSnmp4jDemoSparseTableCol50
public static final int colSnmp4jDemoSparseTableCol50
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableRowStatus
public static final int idxSnmp4jDemoSparseTableRowStatus
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol1
public static final int idxSnmp4jDemoSparseTableCol1
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol2
public static final int idxSnmp4jDemoSparseTableCol2
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol3
public static final int idxSnmp4jDemoSparseTableCol3
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol4
public static final int idxSnmp4jDemoSparseTableCol4
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol5
public static final int idxSnmp4jDemoSparseTableCol5
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol6
public static final int idxSnmp4jDemoSparseTableCol6
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol7
public static final int idxSnmp4jDemoSparseTableCol7
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol8
public static final int idxSnmp4jDemoSparseTableCol8
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol9
public static final int idxSnmp4jDemoSparseTableCol9
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol10
public static final int idxSnmp4jDemoSparseTableCol10
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol11
public static final int idxSnmp4jDemoSparseTableCol11
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol12
public static final int idxSnmp4jDemoSparseTableCol12
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol13
public static final int idxSnmp4jDemoSparseTableCol13
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol14
public static final int idxSnmp4jDemoSparseTableCol14
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol15
public static final int idxSnmp4jDemoSparseTableCol15
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol16
public static final int idxSnmp4jDemoSparseTableCol16
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol17
public static final int idxSnmp4jDemoSparseTableCol17
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol18
public static final int idxSnmp4jDemoSparseTableCol18
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol19
public static final int idxSnmp4jDemoSparseTableCol19
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol20
public static final int idxSnmp4jDemoSparseTableCol20
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol21
public static final int idxSnmp4jDemoSparseTableCol21
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol22
public static final int idxSnmp4jDemoSparseTableCol22
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol23
public static final int idxSnmp4jDemoSparseTableCol23
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol24
public static final int idxSnmp4jDemoSparseTableCol24
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol25
public static final int idxSnmp4jDemoSparseTableCol25
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol26
public static final int idxSnmp4jDemoSparseTableCol26
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol27
public static final int idxSnmp4jDemoSparseTableCol27
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol28
public static final int idxSnmp4jDemoSparseTableCol28
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol29
public static final int idxSnmp4jDemoSparseTableCol29
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol30
public static final int idxSnmp4jDemoSparseTableCol30
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol31
public static final int idxSnmp4jDemoSparseTableCol31
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol32
public static final int idxSnmp4jDemoSparseTableCol32
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol33
public static final int idxSnmp4jDemoSparseTableCol33
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol34
public static final int idxSnmp4jDemoSparseTableCol34
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol35
public static final int idxSnmp4jDemoSparseTableCol35
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol36
public static final int idxSnmp4jDemoSparseTableCol36
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol37
public static final int idxSnmp4jDemoSparseTableCol37
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol38
public static final int idxSnmp4jDemoSparseTableCol38
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol39
public static final int idxSnmp4jDemoSparseTableCol39
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol40
public static final int idxSnmp4jDemoSparseTableCol40
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol41
public static final int idxSnmp4jDemoSparseTableCol41
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol42
public static final int idxSnmp4jDemoSparseTableCol42
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol43
public static final int idxSnmp4jDemoSparseTableCol43
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol44
public static final int idxSnmp4jDemoSparseTableCol44
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol45
public static final int idxSnmp4jDemoSparseTableCol45
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol46
public static final int idxSnmp4jDemoSparseTableCol46
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol47
public static final int idxSnmp4jDemoSparseTableCol47
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol48
public static final int idxSnmp4jDemoSparseTableCol48
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol49
public static final int idxSnmp4jDemoSparseTableCol49
- See Also:
- Constant Field Values
-
idxSnmp4jDemoSparseTableCol50
public static final int idxSnmp4jDemoSparseTableCol50
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Snmp4jDemoMib
protected Snmp4jDemoMib()
Constructs a Snmp4jDemoMib instance without actually creating itsManagedObject
instances. This has to be done in a sub-class constructor or after construction by callingcreateMO(MOFactory moFactory)
.
-
Snmp4jDemoMib
public Snmp4jDemoMib(MOFactory moFactory)
Constructs a Snmp4jDemoMib instance and actually creates itsManagedObject
instances using the suppliedMOFactory
(by callingcreateMO(MOFactory moFactory)
).- Parameters:
moFactory
- theMOFactory
to be used to create the managed objects for this module.
-
-
Method Detail
-
createMO
protected void createMO(MOFactory moFactory)
Create the ManagedObjects defined for this MIB module using the specifiedMOFactory
.- Parameters:
moFactory
- theMOFactory
instance to use for object creation.
-
getSnmp4jDemoScalar
public MOScalar<org.snmp4j.smi.OctetString> getSnmp4jDemoScalar()
-
getSnmp4jDemoSparseTableType
public MOScalar<org.snmp4j.smi.Integer32> getSnmp4jDemoSparseTableType()
-
getSnmp4jDemoEntry
public MOTable<Snmp4jDemoMib.Snmp4jDemoEntryRow,MOColumn,MOMutableTableModel<Snmp4jDemoMib.Snmp4jDemoEntryRow>> getSnmp4jDemoEntry()
-
getSnmp4jDemoSparseEntry
public MOTable<Snmp4jDemoMib.Snmp4jDemoSparseEntryRow,MOColumn,MOMutableTableModel<Snmp4jDemoMib.Snmp4jDemoSparseEntryRow>> getSnmp4jDemoSparseEntry()
-
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 interfaceMOGroup
- Parameters:
server
- theMOServer
where to register the managed objects.context
- the context to use (may benull
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 interfaceMOGroup
- Parameters:
server
- theMOServer
where to unregister the managed objects.context
- the context to use (may benull
if no specific context is selected).
-
snmp4jDemoEvent
public void snmp4jDemoEvent(NotificationOriginator notificationOriginator, org.snmp4j.smi.OctetString context, org.snmp4j.smi.VariableBinding[] vbs)
-
addTCsToFactory
protected void addTCsToFactory(MOFactory moFactory)
-
addImportedTCsToFactory
public void addImportedTCsToFactory(MOFactory moFactory)
-
-