- 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 protected
RelationShipListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MOTable<DependentRow,? extends MOColumn,? extends MOTableModel<DependentRow>>
getDependentTable()
void
rowChanged(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:MOTableRowListener
A column or a complete row is changed/has been changed.- Specified by:
rowChanged
in interfaceMOTableRowListener<BaseRow extends MOTableRow>
- Parameters:
event
- aMOTableRowEvent
describing 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)
totrue
in 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()
-
-