java.lang.Comparable
, MOMutableRow2PC
, MOMutableTableRow
, MOTableRow
public class SnmpUsmDhObjectsMib.UsmDHUserKeyEntryRow extends DefaultMOMutableRow2PC
index, values
Constructor | Description |
---|---|
UsmDHUserKeyEntryRow(org.snmp4j.smi.OID index,
org.snmp4j.smi.Variable[] values) |
Modifier and Type | Method | Description |
---|---|---|
void |
clearDHKeyChange() |
|
void |
commitRow(SubRequest subRequest,
MOTableRow changeSet) |
Commits a row as described by the supplied change set.
|
DHKeyInfo |
getAuthKeyChange() |
|
org.snmp4j.security.AuthenticationProtocol |
getAuthProtocol(MOTableRow changeSet) |
|
MOTableIndex |
getIndexDef() |
|
byte[] |
getNewAuthKey() |
|
byte[] |
getNewPrivKey() |
|
DHKeyInfo |
getOwnAuthKeyChange() |
|
DHKeyInfo |
getOwnPrivKeyChange() |
|
DHKeyInfo |
getPrivKeyChange() |
|
org.snmp4j.security.PrivacyProtocol |
getPrivProtocol(MOTableRow changeSet) |
|
org.snmp4j.smi.OctetString |
getUsmDHUserAuthKeyChange() |
|
org.snmp4j.smi.OctetString |
getUsmDHUserOwnAuthKeyChange() |
|
org.snmp4j.smi.OctetString |
getUsmDHUserOwnPrivKeyChange() |
|
org.snmp4j.smi.OctetString |
getUsmDHUserPrivKeyChange() |
|
org.snmp4j.smi.Variable |
getValue(int column) |
Gets the value at the specified column index.
|
boolean |
isKeyChangePending() |
|
void |
setUsmDHUserAuthKeyChange(org.snmp4j.smi.OctetString newColValue) |
|
void |
setUsmDHUserOwnAuthKeyChange(org.snmp4j.smi.OctetString newColValue) |
|
void |
setUsmDHUserOwnPrivKeyChange(org.snmp4j.smi.OctetString newColValue) |
|
void |
setUsmDHUserPrivKeyChange(org.snmp4j.smi.OctetString newColValue) |
|
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, prepare, prepareRow, setBaseRow, setUserObject, size, toString, undo, undoRow
compareTo, equals, hashCode, toStringMembers
public UsmDHUserKeyEntryRow(org.snmp4j.smi.OID index, org.snmp4j.smi.Variable[] values)
public org.snmp4j.smi.OctetString getUsmDHUserAuthKeyChange()
public void setUsmDHUserAuthKeyChange(org.snmp4j.smi.OctetString newColValue)
public org.snmp4j.smi.OctetString getUsmDHUserOwnAuthKeyChange()
public void setUsmDHUserOwnAuthKeyChange(org.snmp4j.smi.OctetString newColValue)
public org.snmp4j.smi.OctetString getUsmDHUserPrivKeyChange()
public void setUsmDHUserPrivKeyChange(org.snmp4j.smi.OctetString newColValue)
public org.snmp4j.smi.OctetString getUsmDHUserOwnPrivKeyChange()
public void setUsmDHUserOwnPrivKeyChange(org.snmp4j.smi.OctetString newColValue)
public org.snmp4j.smi.Variable getValue(int column)
MOTableRow
getValue
in interface MOTableRow
getValue
in class DefaultMOMutableRow2PC
column
- the zero-based column index.public void setValue(int column, org.snmp4j.smi.Variable value)
MOMutableTableRow
setValue
in interface MOMutableTableRow
setValue
in class DefaultMOMutableRow2PC
column
- 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 MOTableIndex getIndexDef()
public org.snmp4j.security.AuthenticationProtocol getAuthProtocol(MOTableRow changeSet)
public org.snmp4j.security.PrivacyProtocol getPrivProtocol(MOTableRow changeSet)
public void commitRow(SubRequest subRequest, MOTableRow changeSet)
MOMutableRow2PC
subRequest
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 MOMutableRow2PC
commitRow
in class DefaultMOMutableRow2PC
subRequest
- 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 DHKeyInfo getAuthKeyChange()
public DHKeyInfo getOwnAuthKeyChange()
public DHKeyInfo getPrivKeyChange()
public DHKeyInfo getOwnPrivKeyChange()
public byte[] getNewAuthKey()
public byte[] getNewPrivKey()
public void clearDHKeyChange()
public boolean isKeyChangePending()
Copyright © 2018 SNMP4J.org. All rights reserved.