com.adventnet.snmp.snmp2.agent
Class NativeSnmpVar

java.lang.Object
  |
  +--com.adventnet.snmp.snmp2.agent.NativeSnmpVar

public class NativeSnmpVar
extends java.lang.Object

This class is used to implement native dlls


Field Summary
 int errindex
          The Error Index value.
 byte errstat
          The Error Status value.
 java.lang.String oid
          The OID of the SnmpVar.
 byte type
          The type of the SnmpVar.
 java.lang.String value
          The value of the SnmpVar.
 
Constructor Summary
  NativeSnmpVar(java.lang.String value, byte type, java.lang.String oid)
          Constructor for NativeSnmpVar.
(package private) NativeSnmpVar(java.lang.String value, byte type, java.lang.String oid, byte errstat)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

public java.lang.String value
The value of the SnmpVar.

oid

public java.lang.String oid
The OID of the SnmpVar.

type

public byte type
The type of the SnmpVar.

errstat

public byte errstat
The Error Status value.

errindex

public int errindex
The Error Index value.
Constructor Detail

NativeSnmpVar

public NativeSnmpVar(java.lang.String value,
                     byte type,
                     java.lang.String oid)
Constructor for NativeSnmpVar.
Parameters:
value - The value for the Var.
type - The byte representation of Snmp type for the Var.
oid - The String OID for the Var.

NativeSnmpVar

NativeSnmpVar(java.lang.String value,
              byte type,
              java.lang.String oid,
              byte errstat)