| Modifier and Type | Class and Description |
|---|---|
class |
Snmp4jDemoMib.Snmp4jDemoEntryRow |
class |
Snmp4jDemoMib.Snmp4jDemoScalar |
static class |
Snmp4jDemoMib.Snmp4jDemoTableRowModificationEnum |
| Modifier | Constructor and Description |
|---|---|
protected |
Snmp4jDemoMib()
Constructs a Snmp4jDemoMib instance without actually creating its
ManagedObject instances. |
|
Snmp4jDemoMib(MOFactory moFactory)
Constructs a Snmp4jDemoMib instance and actually creates its
ManagedObject instances using the supplied
MOFactory (by calling
createMO(MOFactory moFactory)). |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addImportedTCsToFactory(MOFactory moFactory) |
protected void |
addTCsToFactory(MOFactory moFactory) |
protected void |
createMO(MOFactory moFactory)
Create the ManagedObjects defined for this MIB module
using the specified
MOFactory. |
MOTable<Snmp4jDemoMib.Snmp4jDemoEntryRow,MOColumn,MOTableModel<Snmp4jDemoMib.Snmp4jDemoEntryRow>> |
getSnmp4jDemoEntry() |
MOScalar |
getSnmp4jDemoScalar() |
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.
|
public static final org.snmp4j.smi.OID oidSnmp4jDemoScalar
public static final org.snmp4j.smi.OID oidSnmp4jDemoEvent
public static final org.snmp4j.smi.OID oidTrapVarSnmp4jDemoEntryCol3
public static final org.snmp4j.smi.OID oidTrapVarSnmp4jDemoTableRowModification
public static final org.snmp4j.smi.OID oidSnmp4jDemoEntry
public static final org.snmp4j.smi.OID oidSnmp4jDemoEntryIndex1
public static final org.snmp4j.smi.OID oidSnmp4jDemoEntryIndex2
public static final String tcModuleSNMPv2Tc
public static final String tcDefTimeStamp
public static final String tcDefStorageType
public static final String tcDefRowStatus
public static final int colSnmp4jDemoEntryCol1
public static final int colSnmp4jDemoEntryCol2
public static final int colSnmp4jDemoEntryCol3
public static final int colSnmp4jDemoEntryCol4
public static final int colSnmp4jDemoEntryCol5
public static final int colSnmp4jDemoEntryCol6
public static final int colSnmp4jDemoTableRowModification
public static final int idxSnmp4jDemoEntryCol1
public static final int idxSnmp4jDemoEntryCol2
public static final int idxSnmp4jDemoEntryCol3
public static final int idxSnmp4jDemoEntryCol4
public static final int idxSnmp4jDemoEntryCol5
public static final int idxSnmp4jDemoEntryCol6
public static final int idxSnmp4jDemoTableRowModification
protected Snmp4jDemoMib()
ManagedObject instances. This has to be done in a
sub-class constructor or after construction by calling
createMO(MOFactory moFactory).public Snmp4jDemoMib(MOFactory moFactory)
ManagedObject instances using the supplied
MOFactory (by calling
createMO(MOFactory moFactory)).moFactory - the MOFactory to be used to create the
managed objects for this module.protected void createMO(MOFactory moFactory)
MOFactory.moFactory - the MOFactory instance to use for object
creation.public MOScalar getSnmp4jDemoScalar()
public MOTable<Snmp4jDemoMib.Snmp4jDemoEntryRow,MOColumn,MOTableModel<Snmp4jDemoMib.Snmp4jDemoEntryRow>> getSnmp4jDemoEntry()
public void registerMOs(MOServer server, org.snmp4j.smi.OctetString context) throws DuplicateRegistrationException
MOGroupregisterMOs in interface MOGroupserver - the MOServer where to register the managed objects.context - the context to use (may be null if no specific context
is selected).DuplicateRegistrationException - if a managed object's scope (i.e. lower bound) is already registered
at the server.public void unregisterMOs(MOServer server, org.snmp4j.smi.OctetString context)
MOGroupunregisterMOs in interface MOGroupserver - the MOServer where to unregister the managed objects.context - the context to use (may be null if no specific context
is selected).public void snmp4jDemoEvent(NotificationOriginator notificationOriginator, org.snmp4j.smi.OctetString context, org.snmp4j.smi.VariableBinding[] vbs)
protected void addTCsToFactory(MOFactory moFactory)
protected void addImportedTCsToFactory(MOFactory moFactory)
Copyright © 2015 SNMP4J.org. All rights reserved.