Package | Description |
---|---|
org.snmp4j.model.snmp.agent | |
org.snmp4j.model.snmp.api | |
org.snmp4j.model.snmp.proxy | |
org.snmp4j.model.snmp.proxy.impl | |
org.snmp4j.model.snmp.spi |
Modifier and Type | Method | Description |
---|---|---|
void |
SNMP4JAgentSnmpService.update(SnmpTransaction snmpTransaction,
org.snmp4j.Target target,
SnmpValuesChangeSet variableBindings,
SnmpCommitListener snmpCommitListener) |
Modifier and Type | Method | Description |
---|---|---|
List<SnmpValuesChangeSet> |
LocalTransaction.getCommitted() |
Gets the list of (successfully) committed changes.
|
List<SnmpValuesChangeSet> |
CommitStatus.getCommittedChanges() |
|
List<SnmpValuesChangeSet> |
CommitStatus.getFailedChanges() |
|
Queue<SnmpValuesChangeSet> |
LocalTransaction.getPending() |
Gets the queue of pending
SnmpValuesChangeSet s. |
Modifier and Type | Method | Description |
---|---|---|
void |
LocalTransaction.addUpdate(SnmpValuesChangeSet changeSet) |
Adds a value change set to this transaction.
|
void |
LocalSnmpService.update(SnmpTransaction snmpTransaction,
org.snmp4j.Target target,
SnmpValuesChangeSet variableBindings,
SnmpCommitListener commitListener) |
Constructor | Description |
---|---|
CommitStatus(SnmpErrorStatus snmpErrorStatus,
int errorIndex,
List<SnmpValuesChangeSet> committedChanges,
List<SnmpValuesChangeSet> failedChanges) |
Create a SNMP commit result based on an error status and index as well as a list of succeeded
(committed) changes and failed changes.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
MutableSnmpProxy.doChange(SnmpValuesChangeSet changeSet) |
Perform a change by adding it to the committer queue.
|
boolean |
MutableSnmpProxy.undoChange(SnmpValuesChangeSet changeSet) |
Undo a change by adding the compensation change to the committer queue.
|
Modifier and Type | Method | Description |
---|---|---|
void |
SnmpTableRO.addError(List<SnmpValuesChangeSet> valuesChangeSets,
SnmpErrorStatus errorStatus,
int errorIndex) |
|
void |
SnmpCommitListener.commitFailure(List<SnmpValuesChangeSet> failedChanges,
SnmpErrorStatus errorStatus,
int errorIndex) |
Indicates a failed commit operation.
|
void |
SnmpCommitListener.commitSuccess(List<SnmpValuesChangeSet> committedChanges) |
Indication of a successful commit.
|
Modifier and Type | Method | Description |
---|---|---|
SnmpValuesChangeSet |
SnmpProxyAdapter.removeLastChangeSet(SnmpProxyObject proxyObject) |
|
SnmpValuesChangeSet |
SnmpProxyAdapter.validateChange(SnmpValuesChangeSet change) |
Modifier and Type | Method | Description |
---|---|---|
List<SnmpValuesChangeSet> |
SnmpProxyAdapter.removeAllChanges(SnmpProxyObject proxyObject) |
Modifier and Type | Method | Description |
---|---|---|
void |
SnmpProxyAdapter.addChange(SnmpProxyObject proxyObject,
SnmpValuesChangeSet change) |
|
static void |
SnmpProxyObjectHelper.applyNewValues(VariableBindingMapper variableBindingMapper,
SnmpValuesChangeSet changeSet) |
Convert any new model values in a change set to the corresponding SNMP value and store that SNMP value in the
change set for further processing.
|
static void |
SnmpProxyObjectHelper.applyOldValues(VariableBindingMapper variableBindingMapper,
SnmpValuesChangeSet changeSet) |
Convert any old model values in a change set to the corresponding SNMP value and store that SNMP value in the
change set for further processing.
|
boolean |
SnmpTableImpl.doChange(SnmpValuesChangeSet changeSet) |
|
boolean |
SnmpTableImpl.doChange(SnmpValuesChangeSet changeSet,
boolean addToCommitter) |
Performs a change by validating it using the
SnmpProxyCommitter . |
boolean |
SnmpTableImpl.undoChange(SnmpValuesChangeSet changeSet) |
|
SnmpValuesChangeSet |
SnmpProxyAdapter.validateChange(SnmpValuesChangeSet change) |
Modifier and Type | Method | Description |
---|---|---|
void |
SnmpTableImplRO.addError(List<SnmpValuesChangeSet> valuesChangeSets,
SnmpErrorStatus errorStatus,
int errorIndex) |
|
void |
SnmpProxyAdapter.CommitListenerProxy.commitFailure(List<SnmpValuesChangeSet> failedChanges,
SnmpErrorStatus errorStatus,
int errorIndex) |
|
void |
SnmpScalarImpl.commitFailure(List<SnmpValuesChangeSet> failedChanges,
SnmpErrorStatus errorStatus,
int errorIndex) |
|
void |
SnmpTableImpl.commitFailure(List<SnmpValuesChangeSet> failedChanges,
SnmpErrorStatus errorStatus,
int errorIndex) |
|
void |
SnmpProxyAdapter.CommitListenerProxy.commitSuccess(List<SnmpValuesChangeSet> committedChanges) |
|
void |
SnmpScalarImpl.commitSuccess(List<SnmpValuesChangeSet> committedChanges) |
|
void |
SnmpTableImpl.commitSuccess(List<SnmpValuesChangeSet> committedChanges) |
Constructor | Description |
---|---|
RowUpdateError(SnmpErrorStatus errorStatus,
int columnIndex,
SnmpValuesChangeSet errorChangeSet) |
Constructor | Description |
---|---|
CommitTask(Map<SnmpProxyObject,List<SnmpValuesChangeSet>> commits,
SnmpCommitListener commitListener) |
Modifier and Type | Method | Description |
---|---|---|
SnmpValuesChangeSet |
SnmpProxyCommitter.removeLastChangeSet(SnmpProxyObject proxyObject) |
Remove the last change from the queue for the specified proxy object.
|
SnmpValuesChangeSet |
SnmpProxyCommitter.validateChange(SnmpValuesChangeSet change) |
Validate the change set provided.
|
Modifier and Type | Method | Description |
---|---|---|
List<SnmpValuesChangeSet> |
SnmpCommitResult.getCommittedChanges() |
|
List<SnmpValuesChangeSet> |
SnmpCommitResult.getFailedChanges() |
|
List<SnmpValuesChangeSet> |
SnmpProxyCommitter.removeAllChanges(SnmpProxyObject proxyObject) |
Remove all changes for a given proxy object.
|
Modifier and Type | Method | Description |
---|---|---|
void |
SnmpProxyCommitter.addChange(SnmpProxyObject proxyObject,
SnmpValuesChangeSet change) |
Adds a change on the specified proxy object to the queue.
|
void |
SnmpService.update(SnmpTransaction snmpTransaction,
org.snmp4j.Target target,
SnmpValuesChangeSet changeSet,
SnmpCommitListener snmpCommitListener) |
Updates (SETs) a set of changes with an atomic SET operation asynchronously.
|
SnmpValuesChangeSet |
SnmpProxyCommitter.validateChange(SnmpValuesChangeSet change) |
Validate the change set provided.
|
Copyright © 2020 SNMP4J.org. All rights reserved.