Package org.snmp4j.model.snmp.proxy
Interface ChangeSet<VB>
- Type Parameters:
VB
- the type of the change which should provide aVariableBinding
in order to be able to commit the changes to a SNMP entity.
- All Known Implementing Classes:
SnmpValueChange
,SnmpValuesChangeSet
public interface ChangeSet<VB>
The
ChangeSet
interface defines how a list of changes to a proxy model can be associated with
the resulting changes on the SNMP level and the status of the (atom for the set) change.- Author:
- Frank Fock
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionGets a list of the changes objects.Gets the SNMP error status as defined bySnmpErrorStatus
.The status of the change.void
setStatus
(ChangeSet.ChangeStatus status) Sets the status of the change.
-
Method Details
-
getChanges
Gets a list of the changes objects.- Returns:
- the changes as a new list.
-
getStatus
ChangeSet.ChangeStatus getStatus()The status of the change.- Returns:
- the change status.
-
setStatus
Sets the status of the change.- Parameters:
status
- the new status.
-
getErrorStatus
SnmpErrorStatus getErrorStatus()Gets the SNMP error status as defined bySnmpErrorStatus
.- Returns:
- the error status for this change.
-