| Package | Description |
|---|---|
| com.h3c.util.snmp |
| Modifier and Type | Class and Description |
|---|---|
class |
SnmpTrapRequest
SNMP trap request message.
|
| Modifier and Type | Method and Description |
|---|---|
SnmpRequest |
SnmpTarget.createRequest(SnmpRequestListener listener)
Creates a new request based on the SNMP version.
|
SnmpRequest |
SnmpRequest.setAttachedObject(Object attachedObject)
Attaches an object to this request so that it can be recovered when the listner is called back.
|
SnmpRequest |
SnmpRequest.setBulkWalkMaxReps(int bulkWalkMaxReps)
Used to configure a bulk walk request before sending.
|
SnmpRequest |
SnmpRequest.setBulkWalkType()
Sets the request type as
SnmpFieldType.GET_BULK_REQ. |
SnmpRequest |
SnmpRequest.setGetType()
Sets the request type as
SnmpFieldType.GET_REQ. |
SnmpRequest |
SnmpRequest.setSetType()
Sets the request type as
SnmpFieldType.SET_REQ. |
SnmpRequest |
SnmpRequest.setWalkType()
Sets the request type as
SnmpFieldType.GET_NEXT_REQ. |
SnmpRequest |
SnmpRequest.setWalkTypeByVersion()
Sets the request type as
SnmpFieldType.GET_NEXT_REQ or SnmpFieldType.GET_BULK_REQ
based on version. |
SnmpRequest |
SnmpRequest.setWalkTypeByVersion(int bulkWalkMaxReps)
Sets the request type as
SnmpFieldType.GET_NEXT_REQ or SnmpFieldType.GET_BULK_REQ
based on version. |
| Modifier and Type | Method and Description |
|---|---|
void |
MsgProcessorV3.configureForRequest(SnmpRequest request) |
void |
MsgProcessorV3.configureForTrap(SnmpRequest trap) |
static SnmpResponse |
SnmpClientFixture.copy(SnmpRequest request)
Helper method to copy a request into a response (used for fixtures/testing).
|
void |
SnmpRequestListener.onError(SnmpRequest request)
Called for a failed request.
|
void |
SnmpRequestListener.onSuccess(SnmpRequest request)
Called for a successfully completed request.
|
boolean |
MsgProcessorV3.prepareRequestForEncoding(SnmpRequest request,
int requestId) |
void |
MsgProcessorV3.repairRequestAfterEncoding(SnmpRequest request) |
void |
SnmpClientFixture.sendRequest(SnmpRequest request) |
void |
SnmpClient.sendRequest(SnmpRequest request)
Main entry point for sending requests to a SNMP server.
|
void |
DefaultSnmpClient.sendRequest(SnmpRequest request)
Main entry point for sending requests to a SNMP server.
|
void |
ClientChannelEngine.write(SnmpRequest request)
Main entry point to write a SNMP message to an engine's channel.
|
Copyright © 2014. All Rights Reserved.