public class SnmpVarbind extends Object
| Modifier and Type | Field and Description | 
|---|---|
static int | 
COLUMN_ROW  | 
static int | 
OID  | 
static int | 
VARIABLE  | 
| Constructor and Description | 
|---|
SnmpVarbind(int[] ioid,
           ConfValue value)
Deprecated.  
 | 
SnmpVarbind(long[] oid,
           ConfValue value)
Constructor for Snmp variable binding (of type OID) 
 | 
SnmpVarbind(String variable,
           ConfValue value)
Constructor for Snmp variable binding (of type VARIABLE) 
 | 
SnmpVarbind(String column,
           int[] rowindex,
           ConfValue value)
Constructor for Snmp variable binding (of type COLUMN_ROW) 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ConfEObject | 
encode()
Return encoded term. 
 | 
ConfEObject | 
encodeOid(int[] oid)
Should only be used for rowindex now 
 | 
ConfEObject | 
encodeOid(long[] oid)  | 
String | 
getColumn()  | 
int[] | 
getOID()
Deprecated.  
 | 
long[] | 
getOIDLong()  | 
int[] | 
getRowIndex()  | 
int | 
getType()  | 
ConfValue | 
getValue()  | 
String | 
getVariable()  | 
String | 
oidToString(int[] oid)
Return oid as string on format 1.2.3.4 etc
 Should only be used for rowindex now 
 | 
String | 
oidToString(long[] oid)
Return oid as string on format 1.2.3.4 etc 
 | 
String | 
toString()  | 
public static final int VARIABLE
public static final int OID
public static final int COLUMN_ROW
public SnmpVarbind(String variable, ConfValue value)
@Deprecated public SnmpVarbind(int[] ioid, ConfValue value)
public SnmpVarbind(long[] oid,
                   ConfValue value)
public int getType()
public String getVariable()
@Deprecated public int[] getOID()
public long[] getOIDLong()
public String getColumn()
public int[] getRowIndex()
public ConfValue getValue()
public ConfEObject encode()
public String oidToString(int[] oid)
public String oidToString(long[] oid)
public ConfEObject encodeOid(int[] oid)
public ConfEObject encodeOid(long[] oid)