public class

SnmpScopedPduRequest

extends SnmpScopedPduPacket
implements SnmpPduRequestType
java.lang.Object
   ↳ com.sun.jmx.snmp.SnmpPdu
     ↳ com.sun.jmx.snmp.SnmpScopedPduPacket
       ↳ com.sun.jmx.snmp.SnmpScopedPduRequest

Class Overview

Is used to represent get, get-next, set, response SNMP V3 scoped PDUs.

This API is a Sun Microsystems internal API and is subject to change without notice.

Summary

[Expand]
Inherited Constants
From interface com.sun.jmx.snmp.SnmpDefinitions
[Expand]
Inherited Fields
From class com.sun.jmx.snmp.SnmpScopedPduPacket
From class com.sun.jmx.snmp.SnmpPdu
Public Constructors
SnmpScopedPduRequest()
Public Methods
int getErrorIndex()
Error index getter.
int getErrorStatus()
Error status getter.
SnmpPdu getResponsePdu()
Generates the pdu to use for response.
void setErrorIndex(int i)
Error index setter.
void setErrorStatus(int s)
Error status setter.
[Expand]
Inherited Methods
From class com.sun.jmx.snmp.SnmpPdu
From class java.lang.Object
From interface com.sun.jmx.snmp.SnmpAckPdu
From interface com.sun.jmx.snmp.SnmpPduRequestType

Public Constructors

public SnmpScopedPduRequest ()

Public Methods

public int getErrorIndex ()

Error index getter. Remember that SNMP indices start from 1. Thus the corresponding SnmpVarBind is varBindList[errorIndex-1].

Returns
  • Error index.

public int getErrorStatus ()

Error status getter. Statuses are defined in com.sun.jmx.snmp.SnmpDefinitions SnmpDefinitions.

Returns
  • Error status.

public SnmpPdu getResponsePdu ()

Generates the pdu to use for response.

Returns
  • Response pdu.

public void setErrorIndex (int i)

Error index setter. Remember that SNMP indices start from 1. Thus the corresponding SnmpVarBind is varBindList[errorIndex-1].

Parameters
i Error index.

public void setErrorStatus (int s)

Error status setter. Statuses are defined in com.sun.jmx.snmp.SnmpDefinitions SnmpDefinitions.

Parameters
s Error status.