Class Snmp4jDemoMib

java.lang.Object
org.snmp4j.agent.example.Snmp4jDemoMib
All Implemented Interfaces:
MOGroup

public class Snmp4jDemoMib extends Object implements MOGroup
  • Field Details

    • 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 String tcModuleSNMPv2Tc
      See Also:
    • tcDefTimeStamp

      public static final String tcDefTimeStamp
      See Also:
    • tcDefStorageType

      public static final String tcDefStorageType
      See Also:
    • tcDefRowStatus

      public static final String tcDefRowStatus
      See Also:
    • colSnmp4jDemoEntryCol1

      public static final int colSnmp4jDemoEntryCol1
      See Also:
    • colSnmp4jDemoEntryCol2

      public static final int colSnmp4jDemoEntryCol2
      See Also:
    • colSnmp4jDemoEntryCol3

      public static final int colSnmp4jDemoEntryCol3
      See Also:
    • colSnmp4jDemoEntryCol4

      public static final int colSnmp4jDemoEntryCol4
      See Also:
    • colSnmp4jDemoEntryCol5

      public static final int colSnmp4jDemoEntryCol5
      See Also:
    • colSnmp4jDemoEntryCol6

      public static final int colSnmp4jDemoEntryCol6
      See Also:
    • colSnmp4jDemoTableRowModification

      public static final int colSnmp4jDemoTableRowModification
      See Also:
    • idxSnmp4jDemoEntryCol1

      public static final int idxSnmp4jDemoEntryCol1
      See Also:
    • idxSnmp4jDemoEntryCol2

      public static final int idxSnmp4jDemoEntryCol2
      See Also:
    • idxSnmp4jDemoEntryCol3

      public static final int idxSnmp4jDemoEntryCol3
      See Also:
    • idxSnmp4jDemoEntryCol4

      public static final int idxSnmp4jDemoEntryCol4
      See Also:
    • idxSnmp4jDemoEntryCol5

      public static final int idxSnmp4jDemoEntryCol5
      See Also:
    • idxSnmp4jDemoEntryCol6

      public static final int idxSnmp4jDemoEntryCol6
      See Also:
    • idxSnmp4jDemoTableRowModification

      public static final int idxSnmp4jDemoTableRowModification
      See Also:
    • oidSnmp4jDemoSparseEntry

      public static final org.snmp4j.smi.OID oidSnmp4jDemoSparseEntry
    • oidSnmp4jDemoSparseTableIndex

      public static final org.snmp4j.smi.OID oidSnmp4jDemoSparseTableIndex
    • tcModuleSnmp4jDemoMib

      public static final String tcModuleSnmp4jDemoMib
      See Also:
    • tcDefSparseTableColumn

      public static final String tcDefSparseTableColumn
      See Also:
    • colSnmp4jDemoSparseTableRowStatus

      public static final int colSnmp4jDemoSparseTableRowStatus
      See Also:
    • colSnmp4jDemoSparseTableCol1

      public static final int colSnmp4jDemoSparseTableCol1
      See Also:
    • colSnmp4jDemoSparseTableCol2

      public static final int colSnmp4jDemoSparseTableCol2
      See Also:
    • colSnmp4jDemoSparseTableCol3

      public static final int colSnmp4jDemoSparseTableCol3
      See Also:
    • colSnmp4jDemoSparseTableCol4

      public static final int colSnmp4jDemoSparseTableCol4
      See Also:
    • colSnmp4jDemoSparseTableCol5

      public static final int colSnmp4jDemoSparseTableCol5
      See Also:
    • colSnmp4jDemoSparseTableCol6

      public static final int colSnmp4jDemoSparseTableCol6
      See Also:
    • colSnmp4jDemoSparseTableCol7

      public static final int colSnmp4jDemoSparseTableCol7
      See Also:
    • colSnmp4jDemoSparseTableCol8

      public static final int colSnmp4jDemoSparseTableCol8
      See Also:
    • colSnmp4jDemoSparseTableCol9

      public static final int colSnmp4jDemoSparseTableCol9
      See Also:
    • colSnmp4jDemoSparseTableCol10

      public static final int colSnmp4jDemoSparseTableCol10
      See Also:
    • colSnmp4jDemoSparseTableCol11

      public static final int colSnmp4jDemoSparseTableCol11
      See Also:
    • colSnmp4jDemoSparseTableCol12

      public static final int colSnmp4jDemoSparseTableCol12
      See Also:
    • colSnmp4jDemoSparseTableCol13

      public static final int colSnmp4jDemoSparseTableCol13
      See Also:
    • colSnmp4jDemoSparseTableCol14

      public static final int colSnmp4jDemoSparseTableCol14
      See Also:
    • colSnmp4jDemoSparseTableCol15

      public static final int colSnmp4jDemoSparseTableCol15
      See Also:
    • colSnmp4jDemoSparseTableCol16

      public static final int colSnmp4jDemoSparseTableCol16
      See Also:
    • colSnmp4jDemoSparseTableCol17

      public static final int colSnmp4jDemoSparseTableCol17
      See Also:
    • colSnmp4jDemoSparseTableCol18

      public static final int colSnmp4jDemoSparseTableCol18
      See Also:
    • colSnmp4jDemoSparseTableCol19

      public static final int colSnmp4jDemoSparseTableCol19
      See Also:
    • colSnmp4jDemoSparseTableCol20

      public static final int colSnmp4jDemoSparseTableCol20
      See Also:
    • colSnmp4jDemoSparseTableCol21

      public static final int colSnmp4jDemoSparseTableCol21
      See Also:
    • colSnmp4jDemoSparseTableCol22

      public static final int colSnmp4jDemoSparseTableCol22
      See Also:
    • colSnmp4jDemoSparseTableCol23

      public static final int colSnmp4jDemoSparseTableCol23
      See Also:
    • colSnmp4jDemoSparseTableCol24

      public static final int colSnmp4jDemoSparseTableCol24
      See Also:
    • colSnmp4jDemoSparseTableCol25

      public static final int colSnmp4jDemoSparseTableCol25
      See Also:
    • colSnmp4jDemoSparseTableCol26

      public static final int colSnmp4jDemoSparseTableCol26
      See Also:
    • colSnmp4jDemoSparseTableCol27

      public static final int colSnmp4jDemoSparseTableCol27
      See Also:
    • colSnmp4jDemoSparseTableCol28

      public static final int colSnmp4jDemoSparseTableCol28
      See Also:
    • colSnmp4jDemoSparseTableCol29

      public static final int colSnmp4jDemoSparseTableCol29
      See Also:
    • colSnmp4jDemoSparseTableCol30

      public static final int colSnmp4jDemoSparseTableCol30
      See Also:
    • colSnmp4jDemoSparseTableCol31

      public static final int colSnmp4jDemoSparseTableCol31
      See Also:
    • colSnmp4jDemoSparseTableCol32

      public static final int colSnmp4jDemoSparseTableCol32
      See Also:
    • colSnmp4jDemoSparseTableCol33

      public static final int colSnmp4jDemoSparseTableCol33
      See Also:
    • colSnmp4jDemoSparseTableCol34

      public static final int colSnmp4jDemoSparseTableCol34
      See Also:
    • colSnmp4jDemoSparseTableCol35

      public static final int colSnmp4jDemoSparseTableCol35
      See Also:
    • colSnmp4jDemoSparseTableCol36

      public static final int colSnmp4jDemoSparseTableCol36
      See Also:
    • colSnmp4jDemoSparseTableCol37

      public static final int colSnmp4jDemoSparseTableCol37
      See Also:
    • colSnmp4jDemoSparseTableCol38

      public static final int colSnmp4jDemoSparseTableCol38
      See Also:
    • colSnmp4jDemoSparseTableCol39

      public static final int colSnmp4jDemoSparseTableCol39
      See Also:
    • colSnmp4jDemoSparseTableCol40

      public static final int colSnmp4jDemoSparseTableCol40
      See Also:
    • colSnmp4jDemoSparseTableCol41

      public static final int colSnmp4jDemoSparseTableCol41
      See Also:
    • colSnmp4jDemoSparseTableCol42

      public static final int colSnmp4jDemoSparseTableCol42
      See Also:
    • colSnmp4jDemoSparseTableCol43

      public static final int colSnmp4jDemoSparseTableCol43
      See Also:
    • colSnmp4jDemoSparseTableCol44

      public static final int colSnmp4jDemoSparseTableCol44
      See Also:
    • colSnmp4jDemoSparseTableCol45

      public static final int colSnmp4jDemoSparseTableCol45
      See Also:
    • colSnmp4jDemoSparseTableCol46

      public static final int colSnmp4jDemoSparseTableCol46
      See Also:
    • colSnmp4jDemoSparseTableCol47

      public static final int colSnmp4jDemoSparseTableCol47
      See Also:
    • colSnmp4jDemoSparseTableCol48

      public static final int colSnmp4jDemoSparseTableCol48
      See Also:
    • colSnmp4jDemoSparseTableCol49

      public static final int colSnmp4jDemoSparseTableCol49
      See Also:
    • colSnmp4jDemoSparseTableCol50

      public static final int colSnmp4jDemoSparseTableCol50
      See Also:
    • idxSnmp4jDemoSparseTableRowStatus

      public static final int idxSnmp4jDemoSparseTableRowStatus
      See Also:
    • idxSnmp4jDemoSparseTableCol1

      public static final int idxSnmp4jDemoSparseTableCol1
      See Also:
    • idxSnmp4jDemoSparseTableCol2

      public static final int idxSnmp4jDemoSparseTableCol2
      See Also:
    • idxSnmp4jDemoSparseTableCol3

      public static final int idxSnmp4jDemoSparseTableCol3
      See Also:
    • idxSnmp4jDemoSparseTableCol4

      public static final int idxSnmp4jDemoSparseTableCol4
      See Also:
    • idxSnmp4jDemoSparseTableCol5

      public static final int idxSnmp4jDemoSparseTableCol5
      See Also:
    • idxSnmp4jDemoSparseTableCol6

      public static final int idxSnmp4jDemoSparseTableCol6
      See Also:
    • idxSnmp4jDemoSparseTableCol7

      public static final int idxSnmp4jDemoSparseTableCol7
      See Also:
    • idxSnmp4jDemoSparseTableCol8

      public static final int idxSnmp4jDemoSparseTableCol8
      See Also:
    • idxSnmp4jDemoSparseTableCol9

      public static final int idxSnmp4jDemoSparseTableCol9
      See Also:
    • idxSnmp4jDemoSparseTableCol10

      public static final int idxSnmp4jDemoSparseTableCol10
      See Also:
    • idxSnmp4jDemoSparseTableCol11

      public static final int idxSnmp4jDemoSparseTableCol11
      See Also:
    • idxSnmp4jDemoSparseTableCol12

      public static final int idxSnmp4jDemoSparseTableCol12
      See Also:
    • idxSnmp4jDemoSparseTableCol13

      public static final int idxSnmp4jDemoSparseTableCol13
      See Also:
    • idxSnmp4jDemoSparseTableCol14

      public static final int idxSnmp4jDemoSparseTableCol14
      See Also:
    • idxSnmp4jDemoSparseTableCol15

      public static final int idxSnmp4jDemoSparseTableCol15
      See Also:
    • idxSnmp4jDemoSparseTableCol16

      public static final int idxSnmp4jDemoSparseTableCol16
      See Also:
    • idxSnmp4jDemoSparseTableCol17

      public static final int idxSnmp4jDemoSparseTableCol17
      See Also:
    • idxSnmp4jDemoSparseTableCol18

      public static final int idxSnmp4jDemoSparseTableCol18
      See Also:
    • idxSnmp4jDemoSparseTableCol19

      public static final int idxSnmp4jDemoSparseTableCol19
      See Also:
    • idxSnmp4jDemoSparseTableCol20

      public static final int idxSnmp4jDemoSparseTableCol20
      See Also:
    • idxSnmp4jDemoSparseTableCol21

      public static final int idxSnmp4jDemoSparseTableCol21
      See Also:
    • idxSnmp4jDemoSparseTableCol22

      public static final int idxSnmp4jDemoSparseTableCol22
      See Also:
    • idxSnmp4jDemoSparseTableCol23

      public static final int idxSnmp4jDemoSparseTableCol23
      See Also:
    • idxSnmp4jDemoSparseTableCol24

      public static final int idxSnmp4jDemoSparseTableCol24
      See Also:
    • idxSnmp4jDemoSparseTableCol25

      public static final int idxSnmp4jDemoSparseTableCol25
      See Also:
    • idxSnmp4jDemoSparseTableCol26

      public static final int idxSnmp4jDemoSparseTableCol26
      See Also:
    • idxSnmp4jDemoSparseTableCol27

      public static final int idxSnmp4jDemoSparseTableCol27
      See Also:
    • idxSnmp4jDemoSparseTableCol28

      public static final int idxSnmp4jDemoSparseTableCol28
      See Also:
    • idxSnmp4jDemoSparseTableCol29

      public static final int idxSnmp4jDemoSparseTableCol29
      See Also:
    • idxSnmp4jDemoSparseTableCol30

      public static final int idxSnmp4jDemoSparseTableCol30
      See Also:
    • idxSnmp4jDemoSparseTableCol31

      public static final int idxSnmp4jDemoSparseTableCol31
      See Also:
    • idxSnmp4jDemoSparseTableCol32

      public static final int idxSnmp4jDemoSparseTableCol32
      See Also:
    • idxSnmp4jDemoSparseTableCol33

      public static final int idxSnmp4jDemoSparseTableCol33
      See Also:
    • idxSnmp4jDemoSparseTableCol34

      public static final int idxSnmp4jDemoSparseTableCol34
      See Also:
    • idxSnmp4jDemoSparseTableCol35

      public static final int idxSnmp4jDemoSparseTableCol35
      See Also:
    • idxSnmp4jDemoSparseTableCol36

      public static final int idxSnmp4jDemoSparseTableCol36
      See Also:
    • idxSnmp4jDemoSparseTableCol37

      public static final int idxSnmp4jDemoSparseTableCol37
      See Also:
    • idxSnmp4jDemoSparseTableCol38

      public static final int idxSnmp4jDemoSparseTableCol38
      See Also:
    • idxSnmp4jDemoSparseTableCol39

      public static final int idxSnmp4jDemoSparseTableCol39
      See Also:
    • idxSnmp4jDemoSparseTableCol40

      public static final int idxSnmp4jDemoSparseTableCol40
      See Also:
    • idxSnmp4jDemoSparseTableCol41

      public static final int idxSnmp4jDemoSparseTableCol41
      See Also:
    • idxSnmp4jDemoSparseTableCol42

      public static final int idxSnmp4jDemoSparseTableCol42
      See Also:
    • idxSnmp4jDemoSparseTableCol43

      public static final int idxSnmp4jDemoSparseTableCol43
      See Also:
    • idxSnmp4jDemoSparseTableCol44

      public static final int idxSnmp4jDemoSparseTableCol44
      See Also:
    • idxSnmp4jDemoSparseTableCol45

      public static final int idxSnmp4jDemoSparseTableCol45
      See Also:
    • idxSnmp4jDemoSparseTableCol46

      public static final int idxSnmp4jDemoSparseTableCol46
      See Also:
    • idxSnmp4jDemoSparseTableCol47

      public static final int idxSnmp4jDemoSparseTableCol47
      See Also:
    • idxSnmp4jDemoSparseTableCol48

      public static final int idxSnmp4jDemoSparseTableCol48
      See Also:
    • idxSnmp4jDemoSparseTableCol49

      public static final int idxSnmp4jDemoSparseTableCol49
      See Also:
    • idxSnmp4jDemoSparseTableCol50

      public static final int idxSnmp4jDemoSparseTableCol50
      See Also:
  • Constructor Details

    • Snmp4jDemoMib

      protected Snmp4jDemoMib()
      Constructs a Snmp4jDemoMib instance without actually creating its ManagedObject instances. This has to be done in a sub-class constructor or after construction by calling createMO(MOFactory moFactory).
    • Snmp4jDemoMib

      public Snmp4jDemoMib(MOFactory moFactory)
      Constructs a Snmp4jDemoMib instance and actually creates its ManagedObject instances using the supplied MOFactory (by calling createMO(MOFactory moFactory)).
      Parameters:
      moFactory - the MOFactory to be used to create the managed objects for this module.
  • Method Details

    • createMO

      protected void createMO(MOFactory moFactory)
      Create the ManagedObjects defined for this MIB module using the specified MOFactory.
      Parameters:
      moFactory - the MOFactory instance to use for object creation.
    • getSnmp4jDemoScalar

      public MOScalar<org.snmp4j.smi.OctetString> getSnmp4jDemoScalar()
    • getSnmp4jDemoSparseTableType

      public MOScalar<org.snmp4j.smi.Integer32> getSnmp4jDemoSparseTableType()
    • getSnmp4jDemoEntry

    • 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 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).
    • 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)