public interface RegistrationCallback
RegistrationCallback
informs about the state of a
AgentX registration or index allocation request.Modifier and Type | Method and Description |
---|---|
void |
registrationEvent(OctetString context,
ManagedObject mo,
int status)
The registration attempt of a
ManagedObject succeeded or
failed. |
boolean |
tableRegistrationEvent(OctetString context,
MOTable mo,
MOTableRow row,
boolean indexAllocation,
int status,
int retryCount)
The registration attempt of a
ManagedObject succeeded or
failed. |
void |
tableUnregistrationEvent(OctetString context,
MOTable mo,
MOTableRow row,
boolean indexAllocation,
int status)
The unregistration attempt of a
ManagedObject succeeded or
failed. |
void |
unregistrationEvent(OctetString context,
ManagedObject mo,
int status)
The unregistration attempt of a
ManagedObject succeeded or
failed. |
void registrationEvent(OctetString context, ManagedObject mo, int status)
ManagedObject
succeeded or
failed.context
- the registration context.mo
- the ManagedObject
that was subject to the registration
process.status
- the AgentX status of the registration response.boolean tableRegistrationEvent(OctetString context, MOTable mo, MOTableRow row, boolean indexAllocation, int status, int retryCount)
ManagedObject
succeeded or
failed.context
- the registration context.mo
- the MOTable
that was subject to the registration
process.row
- the row whose index or region was subject to the
allocation/registration.indexAllocation
- true
if this event relates to an index allocation
request and false
if it relates to a row region
registration.status
- the AgentX status of the registration response.retryCount
- the number of retries already processed. This value can be used to
avoid endless loops.true
if the caller should retry the registration operation,
false
otherwise.void unregistrationEvent(OctetString context, ManagedObject mo, int status)
ManagedObject
succeeded or
failed.context
- the registration context.mo
- the ManagedObject
that was subject to the registration
process.status
- the AgentX status of the registration response.void tableUnregistrationEvent(OctetString context, MOTable mo, MOTableRow row, boolean indexAllocation, int status)
ManagedObject
succeeded or
failed.context
- the registration context.mo
- the MOTable
that was subject to the registration
process.row
- the row whose index or region was subject to the
allocation/registration.indexAllocation
- true
if this event relates to an index allocation
request and false
if it relates to a row region
registration.status
- the AgentX status of the registration response.Copyright © 2016 SNMP4J.org. All rights reserved.