- java.lang.Object
-
- org.snmp4j.Snmp.SyncResponseListener<A>
-
- All Implemented Interfaces:
java.util.EventListener
,ResponseListener
- Enclosing class:
- Snmp
static class Snmp.SyncResponseListener<A extends Address> extends java.lang.Object implements ResponseListener
-
-
Field Summary
Fields Modifier and Type Field Description private ResponseEvent<A>
response
-
Constructor Summary
Constructors Constructor Description SyncResponseListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResponseEvent<A>
getResponse()
<AA extends Address>
voidonResponse(ResponseEvent<AA> event)
Process a SNMP response.
-
-
-
Field Detail
-
response
private ResponseEvent<A extends Address> response
-
-
Method Detail
-
onResponse
public <AA extends Address> void onResponse(ResponseEvent<AA> event)
Description copied from interface:ResponseListener
Process a SNMP response.- Specified by:
onResponse
in interfaceResponseListener
- Type Parameters:
AA
- type of the targetAddress
- Parameters:
event
- aResponseEvent
.
-
getResponse
public ResponseEvent<A> getResponse()
-
-