| java.lang.Object org.snmp4j.agent.mo.MOColumn org.snmp4j.agent.mo.MOMutableColumn org.snmp4j.agent.mo.snmp.RowStatus
RowStatus | public class RowStatus extends MOMutableColumn implements MOChangeListener,MOTableRowListener(Code) | | The RowStatus class implements the columnar object TC RowStatus.
The RowStatus textual convention is used to manage the creation and deletion
of conceptual rows, and is used as the value of the SYNTAX clause for the
status column of a conceptual row. See RFC 2579.
The RowStatus column controls row creation and deletion in SNMP tables with
READ-CREATE maximum access. Since the state of a dynamic row is/may be
important to dependent rows / other objects of an agent, row status change
events can be propagated to other objects through registering
RowStatusListener s.
author: Frank Fock version: 1.0 |
Constructor Summary | |
public | RowStatus(int columnID) Creates a RowStatus column with the specified column sub-identifier and
maximum access of 'read-create'. | public | RowStatus(int columnID, MOAccess access) Creates a RowStatus column with the specified column sub-identifier. |
Method Summary | |
public synchronized void | addRowStatusListener(RowStatusListener l) | public void | afterMOChange(MOChangeEvent changeEvent) | public void | afterPrepareMOChange(MOChangeEvent changeEvent) | protected void | assignNewValue(SubRequest subRequest, MOTableRow row, int column, int newValue) | public void | beforeMOChange(MOChangeEvent changeEvent) | public void | beforePrepareMOChange(MOChangeEvent changeEvent) | public void | commit(SubRequest subRequest, MOTableRow row, MOTableRow changeSet, int column) | protected void | fireRowStatusChanged(RowStatusEvent event) | public void | get(SubRequest subRequest, MOTableRow row, int column) | protected boolean | isReady(MOTableRow row, int rowStatusColumn) | protected boolean | isReady(MOTableRow row, int rowStatusColumn, MOTableRow changeSet) | public static boolean | isRowActive(MOTableRow row, int rowStatusColumnIndex) Tests if the specified row is active. | public boolean | isVolatile(MOTableRow row, int column) | public void | prepare(SubRequest subRequest, MOTableRow row, MOTableRow changeSet, int column) | public synchronized void | removeRowStatusListener(RowStatusListener l) | public void | rowChanged(MOTableRowEvent event) | public void | setTable(MOTable table) Sets the table instance this columnar object is contained in. | public void | undo(SubRequest subRequest, MOTableRow row, int column) | public void | unsetTable(MOTable table) Unsets the table instance and thus unregisters itself as
MOChangeListener and
MOTableRowListener . |
active | final public static int active(Code) | | |
createAndGo | final public static int createAndGo(Code) | | |
createAndWait | final public static int createAndWait(Code) | | |
destroy | final public static int destroy(Code) | | |
notExistant | final public static int notExistant(Code) | | |
notInService | final public static int notInService(Code) | | |
notReady | final public static int notReady(Code) | | |
RowStatus | public RowStatus(int columnID)(Code) | | Creates a RowStatus column with the specified column sub-identifier and
maximum access of 'read-create'.
Parameters: columnID - a column sub-identifier. |
RowStatus | public RowStatus(int columnID, MOAccess access)(Code) | | Creates a RowStatus column with the specified column sub-identifier.
Parameters: columnID - a column sub-identifier. Parameters: access - the maximum access for the RowStatus column (should be READ-CREATE). |
isRowActive | public static boolean isRowActive(MOTableRow row, int rowStatusColumnIndex)(Code) | | Tests if the specified row is active.
Parameters: row - a row with a RowStatus column. Parameters: rowStatusColumnIndex - the column index of the RowStatus column in row .true if row is active. |
setTable | public void setTable(MOTable table)(Code) | | Sets the table instance this columnar object is contained in. This method
should be called by
MOTable instance to register the table with
the RowStatus column. When called, this RowStatus registers itself as
MOChangeListener and
MOTableRowListener .
Parameters: table - the MOTable instance where this column is contained in. |
Methods inherited from org.snmp4j.agent.mo.MOMutableColumn | public synchronized void addMOValueValidationListener(MOValueValidationListener validator)(Code)(Java Doc) public void cleanup(SubRequest subRequest, MOTableRow row, int column)(Code)(Java Doc) public void commit(SubRequest subRequest, MOTableRow row, MOTableRow changeSet, int column)(Code)(Java Doc) public Variable getDefaultValue()(Code)(Java Doc) public boolean isMandatory()(Code)(Java Doc) public boolean isMutableInService()(Code)(Java Doc) public void prepare(SubRequest subRequest, MOTableRow row, MOTableRow changeSet, int column)(Code)(Java Doc) public synchronized void removeMOValueValidationListener(MOValueValidationListener validator)(Code)(Java Doc) public void setDefaultValue(Variable defaultValue)(Code)(Java Doc) public void setMutableInService(boolean mutableInService)(Code)(Java Doc) public String toString()(Code)(Java Doc) public void undo(SubRequest subRequest, MOTableRow row, int column)(Code)(Java Doc) public synchronized int validate(Variable newValue, Variable oldValue)(Code)(Java Doc) protected boolean validateSetRequest(SubRequest subRequest, MOTableRow row, int column)(Code)(Java Doc)
|
|
|