Module org.snmp4j.agent
Package org.snmp4j.agent.mo.snmp.dh
Class SnmpUsmDhObjectsMib.UsmDHUserKeyEntryRow
java.lang.Object
org.snmp4j.agent.mo.DefaultMOTableRow
org.snmp4j.agent.mo.DefaultMOMutableRow2PC
org.snmp4j.agent.mo.snmp.dh.SnmpUsmDhObjectsMib.UsmDHUserKeyEntryRow
- All Implemented Interfaces:
Comparable<MOTableRow>
,MOMutableRow2PC<SubRequest<?>>
,MOMutableTableRow
,MOTableRow
- Enclosing class:
SnmpUsmDhObjectsMib
-
Field Summary
Fields inherited from class org.snmp4j.agent.mo.DefaultMOTableRow
index, values
-
Constructor Summary
ConstructorDescriptionUsmDHUserKeyEntryRow
(org.snmp4j.smi.OID index, org.snmp4j.smi.Variable[] values) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
commitRow
(SubRequest<?> subRequest, MOTableRow changeSet) Commits a row as described by the supplied change set.org.snmp4j.security.AuthenticationProtocol
getAuthProtocol
(MOTableRow changeSet) byte[]
byte[]
org.snmp4j.security.PrivacyProtocol
getPrivProtocol
(MOTableRow changeSet) org.snmp4j.smi.OctetString
org.snmp4j.smi.OctetString
org.snmp4j.smi.OctetString
org.snmp4j.smi.OctetString
org.snmp4j.smi.Variable
getValue
(int column) Gets the value at the specified column index.boolean
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.Methods inherited from class org.snmp4j.agent.mo.DefaultMOMutableRow2PC
cleanup, cleanupRow, commit, getBaseRow, getIndex, getResultingValue, getUserObject, prepare, prepareRow, setBaseRow, setUserObject, size, toString, undo, undoRow
Methods inherited from class org.snmp4j.agent.mo.DefaultMOTableRow
compareTo, equals, getColumnValue, hashCode, toStringMembers
-
Constructor Details
-
UsmDHUserKeyEntryRow
public UsmDHUserKeyEntryRow(org.snmp4j.smi.OID index, org.snmp4j.smi.Variable[] values)
-
-
Method Details
-
getUsmDHUserAuthKeyChange
public org.snmp4j.smi.OctetString getUsmDHUserAuthKeyChange() -
setUsmDHUserAuthKeyChange
public void setUsmDHUserAuthKeyChange(org.snmp4j.smi.OctetString newColValue) -
getUsmDHUserOwnAuthKeyChange
public org.snmp4j.smi.OctetString getUsmDHUserOwnAuthKeyChange() -
setUsmDHUserOwnAuthKeyChange
public void setUsmDHUserOwnAuthKeyChange(org.snmp4j.smi.OctetString newColValue) -
getUsmDHUserPrivKeyChange
public org.snmp4j.smi.OctetString getUsmDHUserPrivKeyChange() -
setUsmDHUserPrivKeyChange
public void setUsmDHUserPrivKeyChange(org.snmp4j.smi.OctetString newColValue) -
getUsmDHUserOwnPrivKeyChange
public org.snmp4j.smi.OctetString getUsmDHUserOwnPrivKeyChange() -
setUsmDHUserOwnPrivKeyChange
public void setUsmDHUserOwnPrivKeyChange(org.snmp4j.smi.OctetString newColValue) -
getValue
public org.snmp4j.smi.Variable getValue(int column) Description copied from interface:MOTableRow
Gets the value at the specified column index.- Specified by:
getValue
in interfaceMOTableRow
- Overrides:
getValue
in classDefaultMOMutableRow2PC
- Parameters:
column
- the zero-based column index.- Returns:
- the value at the specified index.
-
setValue
public void setValue(int column, org.snmp4j.smi.Variable value) Description copied from interface:MOMutableTableRow
Sets the value of a column of this row.- Specified by:
setValue
in interfaceMOMutableTableRow
- Overrides:
setValue
in classDefaultMOMutableRow2PC
- Parameters:
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.
-
getIndexDef
-
getAuthProtocol
-
getPrivProtocol
-
commitRow
Description copied from interface:MOMutableRow2PC
Commits a row as described by the supplied change set. If the modification cannot be successfully committed, the error status of the suppliedsubRequest
should be set tocommitFailed
. Setting this error should be avoided under any circumstances.This method is called only once per modified row.
- Specified by:
commitRow
in interfaceMOMutableRow2PC<SubRequest<?>>
- Overrides:
commitRow
in classDefaultMOMutableRow2PC
- Parameters:
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.
-
getAuthKeyChange
-
getOwnAuthKeyChange
-
getPrivKeyChange
-
getOwnPrivKeyChange
-
getNewAuthKey
public byte[] getNewAuthKey() -
getNewPrivKey
public byte[] getNewPrivKey() -
clearDHKeyChange
public void clearDHKeyChange() -
isKeyChangePending
public boolean isKeyChangePending()
-