-
- All Known Implementing Classes:
EngineBootsCounterFile
public interface EngineIdProviderAnEngineIdProviderholds persistently the engine ID of a SNMP engine.- Since:
- 3.0
- Version:
- 3.0
- Author:
- Frank Fock
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.snmp4j.smi.OctetStringgetEngineId(org.snmp4j.smi.OctetString defaultEngineID)Gets the engine ID for the SNMP entity associated with thisEngineIdProvider.voidresetEngineId(org.snmp4j.smi.OctetString engineId)Sets the persistently stored engine ID to a new value.
-
-
-
Method Detail
-
getEngineId
org.snmp4j.smi.OctetString getEngineId(org.snmp4j.smi.OctetString defaultEngineID)
Gets the engine ID for the SNMP entity associated with thisEngineIdProvider.- Parameters:
defaultEngineID- the engine ID for this entity, if there is no persistently saved engine ID yet.- Returns:
- the persistently saved engine ID or the reference to the
defaultEngineIDwhich is then persistently stored.
-
resetEngineId
void resetEngineId(org.snmp4j.smi.OctetString engineId)
Sets the persistently stored engine ID to a new value.- Parameters:
engineId- the new engine ID for this SNMP entity.
-
-