- 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>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRelationShipListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MOTable<DependentRow,? extends MOColumn,? extends MOTableModel<DependentRow>>getDependentTable()voidrowChanged(MOTableRowEvent<BaseRow> event)A column or a complete row is changed/has been changed.
-
-
-
Method Detail
-
rowChanged
public void rowChanged(MOTableRowEvent<BaseRow> event)
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()
-
-