Modifier and Type | Method and 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 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(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 and Description |
---|---|
int |
Snmp4jDemoMib.Snmp4jDemoScalar.isValueOK(SubRequest request) |
int |
Snmp4jDemoMib.Snmp4jDemoSparseTableType.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)
Process a get sub-request for the specified table row and 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) |
V |
MOColumn.getValue(MOTableRow row,
int column,
SubRequest subRequest)
Gets the value of the specified column from the provided row.
|
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) |
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 |
TestAndIncr.commit(SubRequest request) |
void |
NotificationLogMib.NlmConfigGlobalEntryLimit.commit(SubRequest sreq) |
void |
UsmKeyChange.commit(SubRequest subRequest,
MOTableRow row,
MOTableRow changeSet,
int column) |
void |
RowStatus.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 |
EnumeratedScalar.isValueOK(SubRequest request) |
int |
SnmpTsmMib.SnmpTsmConfigurationUsePrefix.isValueOK(SubRequest request) |
int |
TestAndIncr.isValueOK(SubRequest request) |
int |
DateAndTimeScalar.isValueOK(SubRequest sreq) |
int |
NotificationLogMib.NlmConfigGlobalEntryLimit.isValueOK(SubRequest request) |
int |
NotificationLogMib.NlmConfigGlobalAgeOut.isValueOK(SubRequest request) |
void |
TestAndIncr.prepare(SubRequest request) |
void |
UsmMIB.UsmTableRow.prepare(SubRequest subRequest,
MOTableRow preparedChanges,
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 |
RowStatus.prepare(SubRequest subRequest,
MOTableRow row,
MOTableRow changeSet,
int column) |
void |
RowPointer.prepare(SubRequest subRequest,
MOTableRow row,
MOTableRow preparedChanges,
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 |
Snmp4jConfigMib.Snmp4jCfgSecSrcAddrValidation.cleanup(SubRequest request) |
void |
MOSubtreeProxy.cleanup(SubRequest request) |
void |
Snmp4jConfigMib.Snmp4jCfgSecSrcAddrValidation.commit(SubRequest request) |
void |
MOSubtreeProxy.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. |
interface |
Request<S,R,U extends SubRequest>
The
Request interface defines common elements of SNMP related
operation requests. |
interface |
RequestFactory<S extends 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 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 |
---|---|
SubRequestIterator<? extends SubRequest> |
SubRequest.repetitions()
Returns an iterator on the repetitions of this sub-request.
|
SubRequestIterator<? extends SubRequest> |
SnmpRequest.SnmpSubRequest.repetitions() |
Copyright © 2018 SNMP4J.org. All rights reserved.