java.lang.Object
org.snmp4j.agent.mo.snmp4j.Snmp4jLogMib
- All Implemented Interfaces:
EventListener,MOTableRowListener<Snmp4jLogMib.Snmp4jLogLoggerEntryRow>,RowStatusListener,MOGroup,MOServerLookupListener
public class Snmp4jLogMib
extends Object
implements MOGroup, MOServerLookupListener, MOTableRowListener<Snmp4jLogMib.Snmp4jLogLoggerEntryRow>, RowStatusListener
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassclassstatic final classstatic final classstatic final classclassclassclassclassclassclassclassstatic final class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final org.snmp4j.smi.OIDstatic final org.snmp4j.smi.OIDstatic final org.snmp4j.smi.OIDstatic final org.snmp4j.smi.OIDstatic final org.snmp4j.smi.OIDstatic final org.snmp4j.smi.OIDstatic final org.snmp4j.smi.OIDstatic final org.snmp4j.smi.OID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMOTable<Snmp4jLogMib.Snmp4jLogConsoleHandlerEntryRow,MOColumn, MOMutableTableModel<Snmp4jLogMib.Snmp4jLogConsoleHandlerEntryRow>> MOTable<Snmp4jLogMib.Snmp4jLogFileHandlerEntryRow,MOColumn, MOMutableTableModel<Snmp4jLogMib.Snmp4jLogFileHandlerEntryRow>> MOTable<Snmp4jLogMib.Snmp4jLogHandlerEntryRow,MOColumn, MOMutableTableModel<Snmp4jLogMib.Snmp4jLogHandlerEntryRow>> MOTable<Snmp4jLogMib.Snmp4jLogLoggerEntryRow,MOColumn, MOMutableTableModel<Snmp4jLogMib.Snmp4jLogLoggerEntryRow>> MOTable<Snmp4jLogMib.Snmp4jLogLoggerToHandlerEntryRow,MOColumn, MOMutableTableModel<Snmp4jLogMib.Snmp4jLogLoggerToHandlerEntryRow>> voidlookupEvent(MOServerLookupEvent event) AMOServerinstance has looked up a managed object for which the listener has been registered.voidqueryEvent(MOServerLookupEvent event) AMOServerinstance is about to check if the managed object for which the listener had been registered matches a query.voidregisterMOs(MOServer server, org.snmp4j.smi.OctetString context) Registers the managed objects of this group with the server for the supplied context.voidA column or a complete row is changed/has been changed.voidrowStatusChanged(RowStatusEvent event) voidunregisterMOs(MOServer server, org.snmp4j.smi.OctetString context) Unregisters the managed objects of this group from the supplied server and from the supplied context.voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.snmp4j.agent.MOServerLookupListener
completedUse
-
Field Details
-
oidSnmp4jLogSysDescr
public static final org.snmp4j.smi.OID oidSnmp4jLogSysDescr -
oidSnmp4jLogFactory
public static final org.snmp4j.smi.OID oidSnmp4jLogFactory -
oidSnmp4jLogRootLevel
public static final org.snmp4j.smi.OID oidSnmp4jLogRootLevel -
oidSnmp4jLogLoggerEntry
public static final org.snmp4j.smi.OID oidSnmp4jLogLoggerEntry -
colSnmp4jLogLoggerIndex
public static final int colSnmp4jLogLoggerIndex- See Also:
-
colSnmp4jLogLoggerLevel
public static final int colSnmp4jLogLoggerLevel- See Also:
-
colSnmp4jLogLoggerEffectiveLevel
public static final int colSnmp4jLogLoggerEffectiveLevel- See Also:
-
colSnmp4jLogLoggerStorageType
public static final int colSnmp4jLogLoggerStorageType- See Also:
-
colSnmp4jLogLoggerRowStatus
public static final int colSnmp4jLogLoggerRowStatus- See Also:
-
idxSnmp4jLogLoggerIndex
public static final int idxSnmp4jLogLoggerIndex- See Also:
-
idxSnmp4jLogLoggerLevel
public static final int idxSnmp4jLogLoggerLevel- See Also:
-
idxSnmp4jLogLoggerEffectiveLevel
public static final int idxSnmp4jLogLoggerEffectiveLevel- See Also:
-
idxSnmp4jLogLoggerStorageType
public static final int idxSnmp4jLogLoggerStorageType- See Also:
-
idxSnmp4jLogLoggerRowStatus
public static final int idxSnmp4jLogLoggerRowStatus- See Also:
-
oidSnmp4jLogLoggerToHandlerEntry
public static final org.snmp4j.smi.OID oidSnmp4jLogLoggerToHandlerEntry -
colSnmp4jLogLoggerToHandlerThreshold
public static final int colSnmp4jLogLoggerToHandlerThreshold- See Also:
-
colSnmp4jLogLoggerToHandlerStorageType
public static final int colSnmp4jLogLoggerToHandlerStorageType- See Also:
-
colSnmp4jLogLoggerToHandlerRowStatus
public static final int colSnmp4jLogLoggerToHandlerRowStatus- See Also:
-
idxSnmp4jLogLoggerToHandlerThreshold
public static final int idxSnmp4jLogLoggerToHandlerThreshold- See Also:
-
idxSnmp4jLogLoggerToHandlerStorageType
public static final int idxSnmp4jLogLoggerToHandlerStorageType- See Also:
-
idxSnmp4jLogLoggerToHandlerRowStatus
public static final int idxSnmp4jLogLoggerToHandlerRowStatus- See Also:
-
oidSnmp4jLogHandlerEntry
public static final org.snmp4j.smi.OID oidSnmp4jLogHandlerEntry -
colSnmp4jLogHandlerType
public static final int colSnmp4jLogHandlerType- See Also:
-
colSnmp4jLogHandlerStorageType
public static final int colSnmp4jLogHandlerStorageType- See Also:
-
colSnmp4jLogHandlerRowStatus
public static final int colSnmp4jLogHandlerRowStatus- See Also:
-
idxSnmp4jLogHandlerType
public static final int idxSnmp4jLogHandlerType- See Also:
-
idxSnmp4jLogHandlerStorageType
public static final int idxSnmp4jLogHandlerStorageType- See Also:
-
idxSnmp4jLogHandlerRowStatus
public static final int idxSnmp4jLogHandlerRowStatus- See Also:
-
oidSnmp4jLogFileHandlerEntry
public static final org.snmp4j.smi.OID oidSnmp4jLogFileHandlerEntry -
colSnmp4jLogFileHandlerPath
public static final int colSnmp4jLogFileHandlerPath- See Also:
-
colSnmp4jLogFileHandlerAppend
public static final int colSnmp4jLogFileHandlerAppend- See Also:
-
colSnmp4jLogFileHandlerBufferedIO
public static final int colSnmp4jLogFileHandlerBufferedIO- See Also:
-
colSnmp4jLogFileHandlerBufferSize
public static final int colSnmp4jLogFileHandlerBufferSize- See Also:
-
idxSnmp4jLogFileHandlerPath
public static final int idxSnmp4jLogFileHandlerPath- See Also:
-
idxSnmp4jLogFileHandlerAppend
public static final int idxSnmp4jLogFileHandlerAppend- See Also:
-
idxSnmp4jLogFileHandlerBufferedIO
public static final int idxSnmp4jLogFileHandlerBufferedIO- See Also:
-
idxSnmp4jLogFileHandlerBufferSize
public static final int idxSnmp4jLogFileHandlerBufferSize- See Also:
-
oidSnmp4jLogConsoleHandlerEntry
public static final org.snmp4j.smi.OID oidSnmp4jLogConsoleHandlerEntry -
colSnmp4jLogConsoleHandlerTarget
public static final int colSnmp4jLogConsoleHandlerTarget- See Also:
-
idxSnmp4jLogConsoleHandlerTarget
public static final int idxSnmp4jLogConsoleHandlerTarget- See Also:
-
-
Constructor Details
-
Snmp4jLogMib
public Snmp4jLogMib()
-
-
Method Details
-
getSnmp4jLogLoggerEntry
public MOTable<Snmp4jLogMib.Snmp4jLogLoggerEntryRow,MOColumn, getSnmp4jLogLoggerEntry()MOMutableTableModel<Snmp4jLogMib.Snmp4jLogLoggerEntryRow>> -
getSnmp4jLogLoggerToHandlerEntry
public MOTable<Snmp4jLogMib.Snmp4jLogLoggerToHandlerEntryRow,MOColumn, getSnmp4jLogLoggerToHandlerEntry()MOMutableTableModel<Snmp4jLogMib.Snmp4jLogLoggerToHandlerEntryRow>> -
getSnmp4jLogHandlerEntry
public MOTable<Snmp4jLogMib.Snmp4jLogHandlerEntryRow,MOColumn, getSnmp4jLogHandlerEntry()MOMutableTableModel<Snmp4jLogMib.Snmp4jLogHandlerEntryRow>> -
getSnmp4jLogFileHandlerEntry
public MOTable<Snmp4jLogMib.Snmp4jLogFileHandlerEntryRow,MOColumn, getSnmp4jLogFileHandlerEntry()MOMutableTableModel<Snmp4jLogMib.Snmp4jLogFileHandlerEntryRow>> -
getSnmp4jLogConsoleHandlerEntry
public MOTable<Snmp4jLogMib.Snmp4jLogConsoleHandlerEntryRow,MOColumn, getSnmp4jLogConsoleHandlerEntry()MOMutableTableModel<Snmp4jLogMib.Snmp4jLogConsoleHandlerEntryRow>> -
registerMOs
public void registerMOs(MOServer server, org.snmp4j.smi.OctetString context) throws DuplicateRegistrationException Description copied from interface:MOGroupRegisters the managed objects of this group with the server for the supplied context.- Specified by:
registerMOsin interfaceMOGroup- Parameters:
server- theMOServerwhere to register the managed objects.context- the context to use (may benullif no specific context is selected).- Throws:
DuplicateRegistrationException- if a managed object's scope (i.e. lower bound) is already registered at the server.
-
unregisterMOs
Description copied from interface:MOGroupUnregisters the managed objects of this group from the supplied server and from the supplied context.- Specified by:
unregisterMOsin interfaceMOGroup- Parameters:
server- theMOServerwhere to unregister the managed objects.context- the context to use (may benullif no specific context is selected).
-
lookupEvent
Description copied from interface:MOServerLookupListenerAMOServerinstance has looked up a managed object for which the listener has been registered.- Specified by:
lookupEventin interfaceMOServerLookupListener- Parameters:
event- aMOServerLookupEventdescribing the lookup query and the managed object that has been looked up.
-
queryEvent
Description copied from interface:MOServerLookupListenerAMOServerinstance is about to check if the managed object for which the listener had been registered matches a query. A managed object with dynamic content like a non-static table might use this event to update its content.- Specified by:
queryEventin interfaceMOServerLookupListener- Parameters:
event- aMOServerLookupEventdescribing the lookup query and the managed object that is to be queried.
-
updateLoggerTable
public void updateLoggerTable() -
rowStatusChanged
- Specified by:
rowStatusChangedin interfaceRowStatusListener
-
rowChanged
Description copied from interface:MOTableRowListenerA column or a complete row is changed/has been changed.- Specified by:
rowChangedin interfaceMOTableRowListener<Snmp4jLogMib.Snmp4jLogLoggerEntryRow>- Parameters:
event- aMOTableRowEventdescribing the event. To veto the event theMOTableRowEvent.setVetoStatus(int)and optionally also theMOTableRowEvent.setVetoColumn(int)can be called. IfMOTableRowEvent.getNumberOfConsecutiveEventsOfSameOrigin()is greater than zero you need to setMOTableRowEvent.setSendNextEventsOfSameOrigin(boolean)totruein order to receive those consecutive events too. Otherwise they will be ignored and not been propagated to this listener.
-