|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.snmp4j.agent.example.Snmp4jDemoMib
public class Snmp4jDemoMib
| Nested Class Summary | |
|---|---|
class |
Snmp4jDemoMib.Snmp4jDemoEntryRow
|
class |
Snmp4jDemoMib.Snmp4jDemoScalar
|
static class |
Snmp4jDemoMib.Snmp4jDemoTableRowModificationEnum
|
| Constructor Summary | |
|---|---|
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)). |
| Method Summary | |
|---|---|
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 |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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 java.lang.String tcModuleSNMPv2Tc
public static final java.lang.String tcDefTimeStamp
public static final java.lang.String tcDefStorageType
public static final java.lang.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
| Constructor Detail |
|---|
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.| Method Detail |
|---|
protected void createMO(MOFactory moFactory)
MOFactory.
moFactory - the MOFactory instance to use for object
creation.public MOScalar getSnmp4jDemoScalar()
public MOTable getSnmp4jDemoEntry()
public void registerMOs(MOServer server,
org.snmp4j.smi.OctetString context)
throws DuplicateRegistrationException
MOGroup
registerMOs 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)
MOGroup
unregisterMOs 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 2005-2010 Frank Fock (SNMP4J.org) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||