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[] 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) |
String |
getColumn() |
int[] |
getOID() |
int[] |
getRowIndex() |
int |
getType() |
ConfValue |
getValue() |
String |
getVariable() |
String |
oidToString(int[] oid)
Return oid as string on format 1.2.3.4 etc
|
String |
toString() |
public static final int COLUMN_ROW
public static final int OID
public static final int VARIABLE
public SnmpVarbind(int[] oid, ConfValue value)
public SnmpVarbind(String variable, ConfValue value)
public ConfEObject encode()
public ConfEObject encodeOid(int[] oid)
public String getColumn()
public int[] getOID()
public int[] getRowIndex()
public int getType()
public ConfValue getValue()
public String getVariable()
public String oidToString(int[] oid)