| Modifier and Type | Method and Description |
|---|---|
void |
ManagedObject.cleanup(SubRequest request)
Cleansup a (sub)request and frees all resources locked during
the preparation phase.
|
void |
ManagedObject.commit(SubRequest request)
Commits a previously prepared SET (sub)request.
|
void |
ManagedObject.get(SubRequest request)
Processes a GET request and return the result in the supplied sub-request.
|
boolean |
ManagedObject.next(SubRequest request)
Finds the successor instance for the object instance ID (OID) given
by the supplied sub-request and returns it within the supplied sub-request
object.
|
void |
ManagedObject.prepare(SubRequest request)
Prepares a SET (sub)request.
|
protected void |
CommandProcessor.processNextSubRequest(Request request,
MOServer server,
org.snmp4j.smi.OctetString context,
SubRequest sreq) |
void |
ManagedObject.undo(SubRequest request)
Compensates (undo) a (sub)request when a commit of another subrequest
failed with an error.
|
| Modifier and Type | Method and Description |
|---|---|
int |
Snmp4jDemoMib.Snmp4jDemoScalar.isValueOK(SubRequest request) |
| Modifier and Type | Method and Description |
|---|---|
protected DefaultMOTable.ChangeSet |
DefaultMOTable.addPendingChanges(SubRequest subRequest,
MOTableRow row,
boolean newRow) |
protected boolean |
MOScalar.checkRequestScope(SubRequest request)
Checks whether the request is within the scope of this scalar or not.
|
void |
DefaultMOTable.cleanup(SubRequest request) |
void |
MOScalar.cleanup(SubRequest request) |
void |
MOMutableRow2PC.cleanup(SubRequest subRequest,
int column)
Cleanups resources holds for changes to a single column.
|
void |
DefaultMOMutableRow2PC.cleanup(SubRequest subRequest,
int column) |
void |
MOMutableColumn.cleanup(SubRequest subRequest,
MOTableRow row,
int column) |
void |
MOMutableRow2PC.cleanupRow(SubRequest request,
DefaultMOTable.ChangeSet changeSet)
Cleans up resources for a row.
|
void |
DefaultMOMutableRow2PC.cleanupRow(SubRequest request,
DefaultMOTable.ChangeSet changeSet) |
void |
DefaultMOTable.commit(SubRequest request) |
void |
MOScalar.commit(SubRequest request) |
void |
MOMutableRow2PC.commit(SubRequest subRequest,
MOTableRow changeSet,
int column)
Commits changes to single column.
|
void |
DefaultMOMutableRow2PC.commit(SubRequest subRequest,
MOTableRow changeSet,
int column) |
void |
MOMutableColumn.commit(SubRequest subRequest,
MOTableRow row,
MOTableRow changeSet,
int column) |
void |
MOMutableRow2PC.commitRow(SubRequest subRequest,
MOTableRow changeSet)
Commits a row as described by the supplied change set.
|
void |
DefaultMOMutableRow2PC.commitRow(SubRequest subRequest,
MOTableRow changeSet) |
protected MOTableCellInfo |
DefaultMOTable.findCell(MOScope range,
SubRequest request) |
void |
DefaultMOTable.get(SubRequest request) |
void |
MOScalar.get(SubRequest request) |
void |
MOColumn.get(SubRequest subRequest,
MOTableRow row,
int column) |
protected int |
DefaultMOTable.getChangesFromRequest(org.snmp4j.smi.OID index,
MOTableRow row,
SubRequest request,
org.snmp4j.smi.Variable[] values,
boolean setDefaultValues,
boolean newRow) |
protected DefaultMOTable.ChangeSet |
DefaultMOTable.getPendingChangeSet(SubRequest subRequest,
org.snmp4j.smi.OID index) |
protected boolean |
DefaultMOTable.isChangeSetComplete(SubRequest subRequest,
org.snmp4j.smi.OID index,
int column) |
int |
MOScalar.isValueOK(SubRequest request)
Checks whether the new value contained in the supplied sub-request is a
valid value for this object.
|
boolean |
DefaultMOTable.next(SubRequest request) |
boolean |
MOScalar.next(SubRequest request) |
void |
DefaultMOTable.prepare(SubRequest request) |
void |
MOScalar.prepare(SubRequest request) |
void |
MOMutableRow2PC.prepare(SubRequest subRequest,
MOTableRow changeSet,
int column)
Prepares changing a single column.
|
void |
DefaultMOMutableRow2PC.prepare(SubRequest subRequest,
MOTableRow changeSet,
int column) |
void |
MOMutableColumn.prepare(SubRequest subRequest,
MOTableRow row,
MOTableRow changeSet,
int column) |
void |
MOMutableRow2PC.prepareRow(SubRequest subRequest,
MOTableRow changeSet)
Prepares a row for changes described by the supplied change set.
|
void |
DefaultMOMutableRow2PC.prepareRow(SubRequest subRequest,
MOTableRow changeSet) |
void |
DefaultMOTable.undo(SubRequest request) |
void |
MOScalar.undo(SubRequest request) |
void |
MOMutableRow2PC.undo(SubRequest subRequest,
int column)
Undos the changes to a single column.
|
void |
DefaultMOMutableRow2PC.undo(SubRequest subRequest,
int column) |
void |
MOMutableColumn.undo(SubRequest subRequest,
MOTableRow row,
int column) |
void |
MOMutableRow2PC.undoRow(SubRequest request,
DefaultMOTable.ChangeSet changeSet)
Undos changes to a row.
|
void |
DefaultMOMutableRow2PC.undoRow(SubRequest request,
DefaultMOTable.ChangeSet changeSet) |
protected void |
DefaultMOTable.update(MOScope range,
SubRequest request)
Update this table for the supplied search range and sub-request if it has
not yet been updated for that request.
|
protected boolean |
MOMutableColumn.validateSetRequest(SubRequest subRequest,
MOTableRow row,
int column) |
| Modifier and Type | Method and Description |
|---|---|
void |
StaticMOGroup.cleanup(SubRequest request) |
void |
StaticMOGroup.commit(SubRequest request)
Sets the error status of the request to
PDU.commitFailed. |
void |
StaticMOGroup.get(SubRequest request) |
int |
AgentppSimulationMib.AgentppSimDeleteRow.isValueOK(SubRequest request) |
int |
AgentppSimulationMib.AgentppSimDeleteTableContents.isValueOK(SubRequest request) |
boolean |
StaticMOGroup.next(SubRequest request) |
void |
StaticMOGroup.prepare(SubRequest request)
Sets the error status of the request to
PDU.notWritable. |
void |
StaticMOGroup.undo(SubRequest request)
Sets the error status of the request to
PDU.undoFailed. |
| Modifier and Type | Method and Description |
|---|---|
SubRequest |
RowStatusEvent.getRequest()
Returns the request (SNMP or AgentX) associated with this event.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
RowStatus.assignNewValue(SubRequest subRequest,
MOTableRow row,
int column,
int newValue) |
void |
UsmMIB.UsmTableRow.cleanupRow(SubRequest subRequest,
DefaultMOTable.ChangeSet changeSet) |
void |
NotificationLogMib.NlmConfigGlobalEntryLimit.commit(SubRequest sreq) |
void |
TestAndIncr.commit(SubRequest request) |
void |
RowStatus.commit(SubRequest subRequest,
MOTableRow row,
MOTableRow changeSet,
int column) |
void |
UsmKeyChange.commit(SubRequest subRequest,
MOTableRow row,
MOTableRow changeSet,
int column) |
void |
SnmpTargetMIB.SnmpTargetAddrEntryRow.commitRow(SubRequest subRequest,
MOTableRow changeSet) |
void |
UsmMIB.UsmTableRow.commitRow(SubRequest subRequest,
MOTableRow changeSet) |
void |
RowStatus.get(SubRequest subRequest,
MOTableRow row,
int column) |
void |
KeyChange.get(SubRequest subRequest,
MOTableRow row,
int column) |
protected void |
RowPointer.illegalRowPointer(SubRequest subRequest) |
int |
SnmpTsmMib.SnmpTsmConfigurationUsePrefix.isValueOK(SubRequest request) |
int |
EnumeratedScalar.isValueOK(SubRequest request) |
int |
DateAndTimeScalar.isValueOK(SubRequest sreq) |
int |
NotificationLogMib.NlmConfigGlobalEntryLimit.isValueOK(SubRequest request) |
int |
NotificationLogMib.NlmConfigGlobalAgeOut.isValueOK(SubRequest request) |
int |
TestAndIncr.isValueOK(SubRequest request) |
void |
TestAndIncr.prepare(SubRequest request) |
void |
UsmMIB.UsmTableRow.prepare(SubRequest subRequest,
MOTableRow preparedChanges,
int column) |
void |
RowPointer.prepare(SubRequest subRequest,
MOTableRow row,
MOTableRow preparedChanges,
int column) |
void |
RowStatus.prepare(SubRequest subRequest,
MOTableRow row,
MOTableRow changeSet,
int column) |
void |
UsmKeyChange.prepare(SubRequest subRequest,
MOTableRow row,
MOTableRow changeSet,
int column) |
void |
UsmOwnKeyChange.prepare(SubRequest subRequest,
MOTableRow row,
MOTableRow changeSet,
int column) |
void |
SnmpTargetMIB.SnmpTargetAddrEntryRow.prepareRow(SubRequest subRequest,
MOTableRow changeSet) |
void |
RowStatus.undo(SubRequest subRequest,
MOTableRow row,
int column) |
void |
UsmMIB.UsmTableRow.undoRow(SubRequest subRequest,
DefaultMOTable.ChangeSet changeSet) |
| Constructor and Description |
|---|
RowStatusEvent(Object source,
MOTable table,
MOTableRow row,
MOTableRow changeSet,
int oldStatus,
int newStatus,
boolean deniable,
SubRequest request)
Creates a row status event and associates a security name with the
status change.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MOSubtreeProxy.cleanup(SubRequest request) |
void |
Snmp4jConfigMib.Snmp4jCfgSecSrcAddrValidation.cleanup(SubRequest request) |
void |
MOSubtreeProxy.commit(SubRequest request) |
void |
Snmp4jConfigMib.Snmp4jCfgSecSrcAddrValidation.commit(SubRequest request) |
void |
MOSubtreeProxy.get(SubRequest request) |
int |
Snmp4jConfigMib.Snmp4jCfgSecSrcAddrValidation.isValueOK(SubRequest request) |
boolean |
MOSubtreeProxy.next(SubRequest request) |
void |
MOSubtreeProxy.prepare(SubRequest request) |
void |
MOSubtreeProxy.undo(SubRequest request) |
| Modifier and Type | Method and Description |
|---|---|
int |
Snmp4jHeartbeatMib.Snmp4jAgentHBRefTime.isValueOK(SubRequest request) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractRequest<U extends SubRequest,S,R>
The
AbstractRequest implements common elements of SNMP and
AgentX requests and might be also used for other sub-agent request types. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
SnmpSubRequest
The
SnmpSubRequest class holds data for a SNMP
sub-request. |
| Modifier and Type | Class and Description |
|---|---|
class |
SnmpRequest.SnmpSubRequest |
| Modifier and Type | Method and Description |
|---|---|
SubRequest |
AbstractRequest.find(org.snmp4j.smi.OID prefix) |
SubRequest |
Request.find(org.snmp4j.smi.OID prefix)
Finds the first sub-request whose OID starts with the supplied one.
|
SubRequest |
AbstractRequest.get(int index) |
SubRequest<S,R> |
Request.get(int index)
Gets the sub-request at the specified index.
|
protected SubRequest |
SubRequestIteratorSupport.mapToSubRequest(Object element)
Returns the
SubRequest contained or represented by the
supplied object (element of the iterator). |
SubRequest |
SubRequestIteratorSupport.next() |
SubRequest |
SnmpRequest.SnmpSubRequestIterator.next() |
SubRequest |
SubRequestIterator.next()
Gets the next sub-request that is pending.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<SubRequest> |
SnmpRequest.iterator()
iterator
|
Iterator<SubRequest> |
Request.iterator()
Returns an
Iterator over the sub-requests of this request. |
Copyright © 2013 SNMP4J.org. All Rights Reserved.