public class AgentConfigManager.AgentState extends Object
Constructor and Description |
---|
AgentState() |
Modifier and Type | Method and Description |
---|---|
void |
addError(org.snmp4j.agent.AgentConfigManager.ErrorDescriptor error)
Add an error description to the internal error list.
|
void |
advanceState(int newState)
Advance the state to the given state.
|
List<org.snmp4j.agent.AgentConfigManager.ErrorDescriptor> |
getErrors()
Get the error descriptors associated with this agent state.
|
int |
getState() |
void |
setState(int newState)
Sets the new state independent from the current state.
|
public int getState()
public void setState(int newState)
newState
- the new state.public void advanceState(int newState)
newState
- the new minimum state.public void addError(org.snmp4j.agent.AgentConfigManager.ErrorDescriptor error)
error
- an ErrorDescriptor instance to add.public List<org.snmp4j.agent.AgentConfigManager.ErrorDescriptor> getErrors()
Copyright © 2019 SNMP4J.org. All rights reserved.