com.sun.management.snmp
Interface SnmpPduRequestType

All Superinterfaces:
SnmpAckPdu
All Known Implementing Classes:
SnmpPduRequest, SnmpScopedPduRequest

public interface SnmpPduRequestType
extends SnmpAckPdu

Interface implemented by classes modeling request pdu.

Since:
Java DMK 5.1

Method Summary
 int getErrorIndex()
          Error index getter.
 int getErrorStatus()
          Error status getter.
 void setErrorIndex(int i)
          Error index setter.
 void setErrorStatus(int i)
          Error status setter.
 
Methods inherited from interface com.sun.management.snmp.SnmpAckPdu
getResponsePdu
 

Method Detail

setErrorIndex

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.

setErrorStatus

void setErrorStatus(int i)
Error status setter. Statuses are defined in SnmpDefinitions.

Parameters:
i - Error status.

getErrorIndex

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

Returns:
Error index.

getErrorStatus

int getErrorStatus()
Error status getter. Statuses are defined in SnmpDefinitions.

Returns:
Error status.

Open Source build 02
opendmk-1.0-b02 2007.10.01_19:17:46_MEST

Copyright 1998-2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.