Package | Description |
---|---|
com.hp.sdn.dvc.facet |
Device Driver Facet interfaces
|
com.hp.util.snmp |
Package for holding SNMP library.
|
Modifier and Type | Field and Description |
---|---|
protected SnmpRequest |
SnmpDriver.response |
Modifier and Type | Method and Description |
---|---|
SnmpRequest |
SnmpDriver.createGet(IpAddress ip,
SnmpRequestListener listener) |
SnmpRequest |
SnmpDriver.createRequest(IpAddress ip,
SnmpRequestListener listener) |
SnmpRequest |
SnmpDriver.createSet(IpAddress ip,
SnmpRequestListener listener) |
SnmpRequest |
SnmpDriver.createWalk(IpAddress ip,
SnmpRequestListener listener) |
SnmpRequest |
SnmpDriver.createWalkByVersion(IpAddress ip,
SnmpRequestListener listener) |
Modifier and Type | Method and Description |
---|---|
void |
SnmpDriver.execute(SnmpRequest request)
Execute the SNMP request.
|
boolean |
SnmpDriver.executeAndWait(SnmpRequest request,
SnmpRequestListener listener)
Execute the SNMP request and wait for the response.
|
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 © 2016. All Rights Reserved.