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
-
Method Summary
Modifier and TypeMethodDescriptionMOTable
<DependentRow, ? extends MOColumn, ? extends MOTableModel<DependentRow>> void
rowChanged
(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: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, getDependentTable()? extends MOTableModel<DependentRow>>
-