public class SnmpTargetMIB.SnmpTargetAddrEntryRow extends DefaultMOMutableRow2PC
index, values| Constructor and Description |
|---|
SnmpTargetMIB.SnmpTargetAddrEntryRow(org.snmp4j.smi.OID index,
org.snmp4j.smi.Variable[] values) |
| Modifier and Type | Method and Description |
|---|---|
void |
commitRow(SubRequest subRequest,
MOTableRow changeSet)
Commits a row as described by the supplied change set.
|
org.snmp4j.smi.Address |
getAddress() |
org.snmp4j.smi.OctetString |
getTAddress(org.snmp4j.smi.Address address) |
org.snmp4j.Target |
getTarget(org.snmp4j.smi.OctetString contextEngineID,
org.snmp4j.smi.OctetString contextName) |
void |
prepareRow(SubRequest subRequest,
MOTableRow changeSet)
Prepares a row for changes described by the supplied change set.
|
cleanup, cleanupRow, commit, getBaseRow, getIndex, getResultingValue, getUserObject, getValue, prepare, setBaseRow, setUserObject, setValue, size, toString, undo, undoRowcompareTo, equals, hashCode, toStringMemberspublic SnmpTargetMIB.SnmpTargetAddrEntryRow(org.snmp4j.smi.OID index,
org.snmp4j.smi.Variable[] values)
public void commitRow(SubRequest subRequest, MOTableRow changeSet)
MOMutableRow2PCsubRequest should be set to
commitFailed. Setting this error should be avoided under
any circumstances.
This method is called only once per modified row.
commitRow in interface MOMutableRow2PCcommitRow in class DefaultMOMutableRow2PCsubRequest - the sub-request that triggered the row change and that can be used
to trigger the undo phase by setting its error status.changeSet - a MOTableRow instance that represents the state of the row if all
changes have been applied successfully.public void prepareRow(SubRequest subRequest, MOTableRow changeSet)
MOMutableRow2PCsubRequest should be set to the appropriate error
status value.
This method is called only once per modified row.
prepareRow in interface MOMutableRow2PCprepareRow in class DefaultMOMutableRow2PCsubRequest - the sub-request that triggered the row change and that can be used
to deny the commit phase by setting its error status.changeSet - a MOTableRow instance that represents the state of the row if all
changes have been applied successfully.public org.snmp4j.smi.Address getAddress()
public org.snmp4j.smi.OctetString getTAddress(org.snmp4j.smi.Address address)
public org.snmp4j.Target getTarget(org.snmp4j.smi.OctetString contextEngineID,
org.snmp4j.smi.OctetString contextName)
Copyright © 2014 SNMP4J.org. All Rights Reserved.