Class MOTableRelation.RelationShipListener
java.lang.Object
org.snmp4j.agent.mo.MOTableRelation.RelationShipListener
- All Implemented Interfaces:
EventListener, MOTableRowListener<BaseRow>
- Enclosing class:
MOTableRelation<BaseRow extends MOTableRow, DependentRow extends MOTableRow>
protected class MOTableRelation.RelationShipListener
extends Object
implements MOTableRowListener<BaseRow>
- Version:
- 3.0.0
- Author:
- Frank Fock
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMOTable<DependentRow, ? extends MOColumn, ? extends MOTableModel<DependentRow>> voidrowChanged(MOTableRowEvent<BaseRow> event) A column or a complete row is changed/has been changed.
-
Constructor Details
-
RelationShipListener
protected RelationShipListener()
-
-
Method Details
-
rowChanged
Description copied from interface:MOTableRowListenerA column or a complete row is changed/has been changed.- Specified by:
rowChangedin interfaceMOTableRowListener<BaseRow extends MOTableRow>- 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.
-
getDependentTable
public MOTable<DependentRow, ? extends MOColumn, ? extends MOTableModel<DependentRow>> getDependentTable()
-