Modifier and Type | Method | Description |
---|---|---|
protected <R extends Request<Source,Response,? extends SubRequest>,Source,Response> |
CommandProcessor.processRequest(MOServer server,
RequestHandler<R> handler,
R req) |
Processes (or re-process) a request and try to complete the request (thus
to complete any incomplete subrequests).
|
Modifier and Type | Method | 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(SnmpRequest 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 | Description |
---|---|---|
int |
Snmp4jDemoMib.Snmp4jDemoScalar.isValueOK(SubRequest request) |
|
int |
Snmp4jDemoMib.Snmp4jDemoSparseTableType.isValueOK(SubRequest request) |
Modifier and Type | Method | 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 |
DefaultMOMutableRow2PC.cleanup(SubRequest subRequest,
int column) |
|
void |
DefaultMOTable.cleanup(SubRequest request) |
|
void |
MOMutableColumn.cleanup(SubRequest subRequest,
MOTableRow row,
int column) |
|
void |
MOMutableRow2PC.cleanup(SubRequest subRequest,
int column) |
Cleanups resources holds for changes to a single column.
|
void |
MOScalar.cleanup(SubRequest request) |
|
void |
DefaultMOMutableRow2PC.cleanupRow(SubRequest request,
DefaultMOTable.ChangeSet changeSet) |
|
void |
MOMutableRow2PC.cleanupRow(SubRequest request,
DefaultMOTable.ChangeSet changeSet) |
Cleans up resources for a row.
|
void |
DefaultMOMutableRow2PC.commit(SubRequest subRequest,
MOTableRow changeSet,
int column) |
|
void |
DefaultMOTable.commit(SubRequest request) |
|
void |
MOMutableColumn.commit(SubRequest subRequest,
MOTableRow row,
MOTableRow changeSet,
int column) |
|
void |
MOMutableRow2PC.commit(SubRequest subRequest,
MOTableRow changeSet,
int column) |
Commits changes to single column.
|
void |
MOScalar.commit(SubRequest request) |
|
void |
DefaultMOMutableRow2PC.commitRow(SubRequest subRequest,
MOTableRow changeSet) |
|
void |
MOMutableRow2PC.commitRow(SubRequest subRequest,
MOTableRow changeSet) |
Commits a row as described by the supplied change set.
|
protected MOTableCellInfo |
DefaultMOTable.findCell(MOScope range,
SubRequest request) |
|
void |
DefaultMOTable.get(SubRequest request) |
|
void |
MOColumn.get(SubRequest subRequest,
MOTableRow row,
int column) |
Process a get sub-request for the specified table row and column.
|
void |
MOScalar.get(SubRequest request) |
|
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 org.snmp4j.smi.Variable |
DefaultMOTable.getValue(MOTableRow row,
int col,
SubRequest req) |
|
org.snmp4j.smi.Variable |
DefaultMOTable.getValue(org.snmp4j.smi.OID index,
int col,
SubRequest req) |
|
V |
MOColumn.getValue(MOTableRow row,
int column,
SubRequest subRequest) |
Gets the value of the specified column from the provided row.
|
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 |
DefaultMOMutableRow2PC.prepare(SubRequest subRequest,
MOTableRow changeSet,
int column) |
|
void |
DefaultMOTable.prepare(SubRequest request) |
|
void |
MOMutableColumn.prepare(SubRequest subRequest,
MOTableRow row,
MOTableRow changeSet,
int column) |
|
void |
MOMutableRow2PC.prepare(SubRequest subRequest,
MOTableRow changeSet,
int column) |
Prepares changing a single column.
|
void |
MOScalar.prepare(SubRequest request) |
|
void |
DefaultMOMutableRow2PC.prepareRow(SubRequest subRequest,
MOTableRow changeSet) |
|
void |
MOMutableRow2PC.prepareRow(SubRequest subRequest,
MOTableRow changeSet) |
Prepares a row for changes described by the supplied change set.
|
void |
RowModificationControlColumn.prepareRow(SubRequest subRequest,
MOMutableTableRow currentRow,
MOTableRow changeSet) |
Prepares a row for changes described by the supplied change set.
|
void |
DefaultMOMutableRow2PC.undo(SubRequest subRequest,
int column) |
|
void |
DefaultMOTable.undo(SubRequest request) |
|
void |
MOMutableColumn.undo(SubRequest subRequest,
MOTableRow row,
int column) |
|
void |
MOMutableRow2PC.undo(SubRequest subRequest,
int column) |
Undos the changes to a single column.
|
void |
MOScalar.undo(SubRequest request) |
|
void |
DefaultMOMutableRow2PC.undoRow(SubRequest request,
DefaultMOTable.ChangeSet changeSet) |
|
void |
MOMutableRow2PC.undoRow(SubRequest request,
DefaultMOTable.ChangeSet changeSet) |
Undoes changes to a row.
|
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 | 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 | Description |
---|---|---|
SubRequest |
RowStatusEvent.getRequest() |
Returns the request (SNMP or AgentX) associated with this event.
|
Modifier and Type | Method | 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 |
RowStatus.commit(SubRequest subRequest,
MOTableRow row,
MOTableRow changeSet,
int column) |
|
void |
TestAndIncr.commit(SubRequest request) |
|
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 |
KeyChange.get(SubRequest subRequest,
MOTableRow row,
int column) |
|
void |
RowStatus.get(SubRequest subRequest,
MOTableRow row,
int column) |
|
protected void |
RowPointer.illegalRowPointer(SubRequest subRequest) |
|
int |
DateAndTimeScalar.isValueOK(SubRequest sreq) |
|
int |
EnumeratedScalar.isValueOK(SubRequest request) |
|
int |
NotificationLogMib.NlmConfigGlobalAgeOut.isValueOK(SubRequest request) |
|
int |
NotificationLogMib.NlmConfigGlobalEntryLimit.isValueOK(SubRequest request) |
|
int |
SnmpTsmMib.SnmpTsmConfigurationUsePrefix.isValueOK(SubRequest request) |
|
int |
TestAndIncr.isValueOK(SubRequest request) |
|
void |
RowPointer.prepare(SubRequest subRequest,
MOTableRow row,
MOTableRow preparedChanges,
int column) |
|
void |
RowStatus.prepare(SubRequest subRequest,
MOTableRow row,
MOTableRow changeSet,
int column) |
|
void |
TestAndIncr.prepare(SubRequest request) |
|
void |
UsmKeyChange.prepare(SubRequest subRequest,
MOTableRow row,
MOTableRow changeSet,
int column) |
|
void |
UsmMIB.UsmTableRow.prepare(SubRequest subRequest,
MOTableRow preparedChanges,
int column) |
|
void |
UsmOwnKeyChange.prepare(SubRequest subRequest,
MOTableRow row,
MOTableRow changeSet,
int column) |
|
void |
SnmpTargetMIB.SnmpTargetAddrEntryRow.prepareRow(SubRequest subRequest,
MOTableRow changeSet) |
|
void |
StorageType.prepareRow(SubRequest subRequest,
MOMutableTableRow currentRow,
MOTableRow changeSet) |
Prepares a row for changes described by the supplied change set.
|
void |
RowStatus.undo(SubRequest subRequest,
MOTableRow row,
int column) |
|
void |
UsmMIB.UsmTableRow.undoRow(SubRequest subRequest,
DefaultMOTable.ChangeSet changeSet) |
Constructor | Description |
---|---|
RowStatusEvent(java.lang.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 | Description |
---|---|---|
void |
DHKeyChangeImpl.commit(SubRequest subRequest,
MOTableRow row,
MOTableRow changeSet,
int column) |
|
void |
SnmpUsmDhObjectsMib.UsmDHUserKeyEntryRow.commitRow(SubRequest subRequest,
MOTableRow changeSet) |
|
void |
DHKeyChangeImpl.get(SubRequest subRequest,
MOTableRow row,
int column) |
|
int |
SnmpUsmDhObjectsMib.UsmDHParameters.isValueOK(SubRequest request) |
|
void |
DHKeyChangeImpl.prepare(SubRequest subRequest,
MOTableRow row,
MOTableRow changeSet,
int column) |
|
void |
DHKeyChangeImpl.undo(SubRequest subRequest,
MOTableRow row,
int column) |
Modifier and Type | Method | 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 | Description |
---|---|---|
int |
Snmp4jHeartbeatMib.Snmp4jAgentHBRefTime.isValueOK(SubRequest request) |
Modifier and Type | Class | 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. |
interface |
Request<S,R,U extends SubRequest> |
The
Request interface defines common elements of SNMP related
operation requests. |
interface |
RequestFactory<S extends java.util.EventObject,R,REQ extends Request<S,R,? extends SubRequest>> |
The
RequestFactory is a factory for (SNMP/AgentX) requests. |
class |
SubRequestIteratorSupport<S extends SubRequest> |
This support class allows to implement a
SubRequestIterator
instance based on an Iterator that iterates on
SubRequest instances. |
Modifier and Type | Interface | Description |
---|---|---|
interface |
SnmpSubRequest<R> |
The
SnmpSubRequest class holds data for a SNMP
sub-request. |
Modifier and Type | Class | Description |
---|---|---|
class |
SnmpRequest.SnmpSubRequest |
The SnmpSubRequest represents a single variable binding request of a SNMP PDU.
|
Modifier and Type | Method | Description |
---|---|---|
SubRequestIterator<? extends SubRequest> |
SnmpRequest.SnmpSubRequest.repetitions() |
|
SubRequestIterator<? extends SubRequest> |
SubRequest.repetitions() |
Returns an iterator on the repetitions of this sub-request.
|
Copyright © 2018 SNMP4J.org. All rights reserved.