Package org.snmp4j.agent.agentx.subagent
Interface RegistrationCallback
- All Known Implementing Classes:
TestSubagent
public interface RegistrationCallback
The
RegistrationCallback
informs about the state of a
AgentX registration or index allocation request.- Version:
- 3.0.0
- Author:
- Frank Fock
-
Method Summary
Modifier and TypeMethodDescriptionvoid
registrationEvent
(org.snmp4j.smi.OctetString context, org.snmp4j.agent.ManagedObject<?> mo, int status) The registration attempt of aManagedObject
succeeded or failed.<R extends org.snmp4j.agent.mo.MOTableRow,
C extends org.snmp4j.agent.mo.MOColumn<?>, M extends org.snmp4j.agent.mo.MOTableModel<R>>
booleantableRegistrationEvent
(org.snmp4j.smi.OctetString context, AgentXSharedMOTable<R, C, M> mo, R row, boolean indexAllocation, int status, int retryCount) The registration attempt of aManagedObject
succeeded or failed.<R extends org.snmp4j.agent.mo.MOTableRow,
C extends org.snmp4j.agent.mo.MOColumn<?>, M extends org.snmp4j.agent.mo.MOTableModel<R>>
voidtableUnregistrationEvent
(org.snmp4j.smi.OctetString context, AgentXSharedMOTable<R, C, M> mo, R row, boolean indexAllocation, int status) The unregistration attempt of aManagedObject
succeeded or failed.void
unregistrationEvent
(org.snmp4j.smi.OctetString context, org.snmp4j.agent.ManagedObject<?> mo, int status) The unregistration attempt of aManagedObject
succeeded or failed.
-
Method Details
-
registrationEvent
void registrationEvent(org.snmp4j.smi.OctetString context, org.snmp4j.agent.ManagedObject<?> mo, int status) The registration attempt of aManagedObject
succeeded or failed.- Parameters:
context
- the registration context.mo
- theManagedObject
that was subject to the registration process.status
- the AgentX status of the registration response.
-
unregistrationEvent
void unregistrationEvent(org.snmp4j.smi.OctetString context, org.snmp4j.agent.ManagedObject<?> mo, int status) The unregistration attempt of aManagedObject
succeeded or failed.- Parameters:
context
- the registration context.mo
- theManagedObject
that was subject to the registration process.status
- the AgentX status of the registration response.
-