|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SnmpClient
This is the interface implemented by client programs that wish to use callback, authentication, and debugging functions of the API. Without implemnting this interface, synchronous requests can be used. To use asynchronous requests this interface must be implemented by the class that handles the asynchronous response.
Register your callback class that implements the SnmpClient interface using the SnmpSession.addSnmpClient(SnmpClient) method.
SnmpSession.addSnmpClient(com.adventnet.snmp.snmp2.SnmpClient)| Method Summary | |
|---|---|
boolean |
authenticate(SnmpPDU pdu,
java.lang.String community)
This function needs to be supplied by the user of the API to add authentication. |
boolean |
callback(SnmpSession session,
SnmpPDU pdu,
int requestID)
This function needs to be supplied by the user of the API to use callbacks. |
void |
debugPrint(java.lang.String debugOutput)
This function needs to be supplied by the user of the API to obtain a means of manipulating debugging output. |
| Method Detail |
|---|
boolean authenticate(SnmpPDU pdu,
java.lang.String community)
boolean callback(SnmpSession session,
SnmpPDU pdu,
int requestID)
void debugPrint(java.lang.String debugOutput)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||