| java.lang.Object java.util.EventObject org.snmp4j.agent.mo.DeniableEventObject org.snmp4j.agent.mo.MOTableRowEvent
MOTableRowEvent | public class MOTableRowEvent extends DeniableEventObject (Code) | | The MOTableRowEvent class describes the changes
author: Frank Fock version: 1.1 |
Field Summary | |
final public static int | ADD A row is added. | final public static int | CHANGE A single column of a row is changed. | final public static int | CREATE A row is created. | final public static int | DELETE A row is deleted. | final public static int | UPDATED This event type indicates that a complete row has been updated. |
Constructor Summary | |
public | MOTableRowEvent(Object source, MOTable table, MOTableRow row, int type) Creates a table row event based on table, row and type that cannot be
canceled by the event listener. | public | MOTableRowEvent(Object source, MOTable table, MOTableRow row, int type, boolean deniable) Creates a table row event based on table, row and type that may be
canceled by the event listener depending on the specified flag. | public | MOTableRowEvent(Object source, MOTable table, MOTableRow row, MOTableRow preparedChanges, int type) Creates a table row event based on table, row, prepared changes, and type
that cannot be canceled by the event listener. | public | MOTableRowEvent(Object source, MOTable table, MOTableRow row, MOTableRow preparedChanges, int type, boolean deniable) Creates a table row event based on table, row, prepared changes, and type. |
ADD | final public static int ADD(Code) | | A row is added.
|
CHANGE | final public static int CHANGE(Code) | | A single column of a row is changed.
|
CREATE | final public static int CREATE(Code) | | A row is created.
|
DELETE | final public static int DELETE(Code) | | A row is deleted.
|
UPDATED | final public static int UPDATED(Code) | | This event type indicates that a complete row has been updated.
|
MOTableRowEvent | public MOTableRowEvent(Object source, MOTable table, MOTableRow row, int type)(Code) | | Creates a table row event based on table, row and type that cannot be
canceled by the event listener.
Parameters: source - the event source. Parameters: table - the table. Parameters: row - the row associated with this event. Parameters: type - the event type. |
MOTableRowEvent | public MOTableRowEvent(Object source, MOTable table, MOTableRow row, int type, boolean deniable)(Code) | | Creates a table row event based on table, row and type that may be
canceled by the event listener depending on the specified flag.
Parameters: source - the event source. Parameters: table - the table. Parameters: row - the row associated with this event. Parameters: type - the event type. Parameters: deniable - indicates whether the event can be canceled through setting itsdenyReason member to a SNMP error status. since: 1.1 |
MOTableRowEvent | public MOTableRowEvent(Object source, MOTable table, MOTableRow row, MOTableRow preparedChanges, int type)(Code) | | Creates a table row event based on table, row, prepared changes, and type
that cannot be canceled by the event listener.
Parameters: source - the event source. Parameters: table - the table. Parameters: row - the row associated with this event. Parameters: preparedChanges - a row instance containing the prepared changes for row . Parameters: type - the event type. |
MOTableRowEvent | public MOTableRowEvent(Object source, MOTable table, MOTableRow row, MOTableRow preparedChanges, int type, boolean deniable)(Code) | | Creates a table row event based on table, row, prepared changes, and type.
Parameters: source - the event source. Parameters: table - the table. Parameters: row - the row associated with this event. Parameters: preparedChanges - a row instance containing the prepared changes for row . Parameters: type - the event type. Parameters: deniable - indicates whether the event can be canceled through setting itsdenyReason member to a SNMP error status. since: 1.1 |
getType | public int getType()(Code) | | |
getVetoColumn | public int getVetoColumn()(Code) | | |
getVetoStatus | public int getVetoStatus()(Code) | | Returns the veto status that revokes the row operation or zero if the
row operation is accepted by all listeners.
a SNMP or sub-agent protocol error status or zero if the row operationis accepted. |
setVetoColumn | public void setVetoColumn(int vetoColumn)(Code) | | Sets the column index on whose behalf the veto is issued.
Parameters: vetoColumn - a column index. |
setVetoStatus | public void setVetoStatus(int denyReason)(Code) | | Sets the veto status that revokes the row operation.
Parameters: denyReason - a SNMP error status or a sub-agent protocol specific error status.In any case zero represents no error. |
|
|