CommitStatus
public interface SnmpCommitResult<T>
TransactionManager.commit(SnmpTransaction, SnmpCommitListener)
operation.Modifier and Type | Method | Description |
---|---|---|
List<SnmpValuesChangeSet> |
getCommittedChanges() |
|
int |
getErrorIndex() |
Gets the error index of the SNMP error (if > 0) that points to the
VariableBinding
in getFailedChanges() that caused the error. |
SnmpErrorStatus |
getErrorStatus() |
|
List<SnmpValuesChangeSet> |
getFailedChanges() |
|
boolean |
isSuccess() |
Returns
true if the commit operation succeeded. |
boolean isSuccess()
true
if the commit operation succeeded.true
if the commit operation succeeded, false
if a timeout, IO exception,
or SNMP error occurred.SnmpErrorStatus getErrorStatus()
List<SnmpValuesChangeSet> getFailedChanges()
List<SnmpValuesChangeSet> getCommittedChanges()
int getErrorIndex()
VariableBinding
in getFailedChanges()
that caused the error.getFailedChanges()
that caused the error.Copyright © 2020 SNMP4J.org. All rights reserved.