public class SnmpTargetMIB.SnmpTargetAddrEntryRow extends DefaultMOMutableRow2PC
index, values| Constructor and Description |
|---|
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,
org.snmp4j.smi.Address addressType) |
<A extends org.snmp4j.smi.Address> |
getTlsTmTarget(org.snmp4j.smi.Address addr,
org.snmp4j.smi.OctetString secName,
org.snmp4j.smi.OID addrIndex,
org.snmp4j.smi.OID paramsIndex,
SnmpTlsTmMib myTlsTmMib) |
void |
prepareRow(SubRequest subRequest,
MOTableRow changeSet)
Prepares a row for changes described by the supplied change set.
|
void |
setValue(int column,
org.snmp4j.smi.Variable value)
Sets the value of a column of this row.
|
cleanup, cleanupRow, commit, getBaseRow, getIndex, getResultingValue, getUserObject, getValue, prepare, setBaseRow, setUserObject, size, toString, undo, undoRowcompareTo, equals, hashCode, toStringMemberspublic 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 setValue(int column,
org.snmp4j.smi.Variable value)
MOMutableTableRowsetValue in interface MOMutableTableRowsetValue in class DefaultMOMutableRow2PCcolumn - the (zero-based) column index.value - the new value for the specified column. Implementations of this method
may not check the value's type to match the columns type for performance
reasons. Thus, the caller have to make sure that the type's match to
avoid runtime exceptions later.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,
org.snmp4j.smi.Address addressType)
public <A extends org.snmp4j.smi.Address> org.snmp4j.CertifiedTarget getTlsTmTarget(org.snmp4j.smi.Address addr,
org.snmp4j.smi.OctetString secName,
org.snmp4j.smi.OID addrIndex,
org.snmp4j.smi.OID paramsIndex,
SnmpTlsTmMib myTlsTmMib)
Copyright © 2020 SNMP4J.org. All rights reserved.