SnmpTable<C,IC,IT,T,R>
SnmpProxyAdapter.CommitListenerProxy
, SnmpScalarImpl
, SnmpTableImpl
public interface SnmpCommitListener
SnmpCommitListener
interface listen for commit events.Modifier and Type | Method | Description |
---|---|---|
void |
commitFailure(List<SnmpValuesChangeSet> failedChanges,
SnmpErrorStatus errorStatus,
int errorIndex) |
Indicates a failed commit operation.
|
void |
commitSuccess(List<SnmpValuesChangeSet> committedChanges) |
Indication of a successful commit.
|
org.snmp4j.smi.OctetString |
getContext() |
Gets the SNMP context for the commit operation.
|
void commitSuccess(List<SnmpValuesChangeSet> committedChanges)
committedChanges
- the list of successfully committed change sets (each change set was committed atomically for itself).void commitFailure(List<SnmpValuesChangeSet> failedChanges, SnmpErrorStatus errorStatus, int errorIndex)
failedChanges
- the changes that failed to commit (none of the changes within a single change set must have been committed, if
the change set was small enough to be committed atomically).errorStatus
- the SNMP error status of the first failed change set.errorIndex
- the index in the original list of changes committed that failed (zero based).org.snmp4j.smi.OctetString getContext()
null
/empty octet string for the default context).Copyright © 2020 SNMP4J.org. All rights reserved.