Package com.tailf.dp
Interface DpSnmpInformResponseCallback
- All Known Implementing Classes:
SnmpInformResponseCallbackProxy
public interface DpSnmpInformResponseCallback
This interface is used for the SNMP notifier callbacks.
- Since:
- 3.2.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionid()
The id of the SNMP inform callback.int
mask()
void
result
(Integer ref, ConfETuple target, Boolean gotResponse) This callback provides the application with possibility to to take actions based on the result of an inform request for a specific receiver.void
targets
(Integer ref, ConfETuple[] targets) This callback provides the application with possibility to to take actions based on the intended targets of an inform request.
-
Method Details
-
id
String id()The id of the SNMP inform callback. -
mask
int mask() -
targets
This callback provides the application with possibility to to take actions based on the intended targets of an inform request.- Parameters:
ref
- A reference assigned by thetargets
- the intended receivers of the inform request.- Throws:
DpCallbackException
- Callback method failed.
-
result
This callback provides the application with possibility to to take actions based on the result of an inform request for a specific receiver.- Parameters:
ref
- A reference assigned by the caller of the SNMP inform request @seeDpSnmpNotifier.send(String, com.tailf.conf.SnmpVarbind[], Integer)
target
- the receiver returning the result.gotResponse
- if we got a response or not from the target.- Throws:
DpCallbackException
- Callback method failed.
-