public interface DpSnmpInformResponseCallback
Dp.createSnmpNotifier(String, String, Object)| Modifier and Type | Method and Description |
|---|---|
String |
id()
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.
|
String id()
int mask()
void targets(Integer ref, ConfETuple[] targets) throws DpCallbackException
ref - A reference assigned by thetargets - the intended receivers of the inform request.DpCallbackException - Callback method failed.void result(Integer ref, ConfETuple target, Boolean gotResponse) throws DpCallbackException
ref - A reference assigned by the caller of the SNMP inform request @see
DpSnmpNotifier.send(String, com.tailf.conf.SnmpVarbind[], Integer)target - the receiver returning the result.gotResponse - if we got a response or not from the target.DpCallbackException - Callback method failed.