|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.adventnet.snmp.beans.SnmpResultObject
This class contains methods to get all valid and errored responses. This also has method to get the status of the SNMP request made (ie) whether the varbinds in the request sent were all correct (SUCCESS) or all errored (NOSUCCESS) or a mixed of both (PARTIAL).
Field Summary | |
static int |
NOSUCCESS
|
static int |
PARTIAL
|
static int |
SUCCESS
|
Method Summary | |
java.util.Hashtable |
getErrorResult()
This will return a Hashtable which will contain a list of elements corresponding to the errored varbinds. |
java.util.Vector |
getResult()
This will return a Vector of successful operation string values. |
int |
getSuccessCode()
This method will get the success code of this ResultObject. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static int SUCCESS
public static int PARTIAL
public static int NOSUCCESS
Method Detail |
public int getSuccessCode()
public java.util.Vector getResult()
public java.util.Hashtable getErrorResult()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |