IT
- The type of the index object values. This type can be used to define common
type class for all columnar objects, like String
. If the columns have different
types, Object
should be used.T
- The type of the columnar object values. This type can be used to define common
type class for all columnar objects, like String
. If the columns have different
types, Object
should be used.SnmpProxyRow<IT,T>
public class SnmpProxyRowImpl<IT,T> extends Object implements SnmpProxyRow<IT,T>
SnmpProxyRowImpl
class implements a proxy for a SNMP table row.Constructor | Description |
---|---|
SnmpProxyRowImpl(org.snmp4j.smi.OID index,
List<IT> indexObjects,
List<T> columns) |
Modifier and Type | Method | Description |
---|---|---|
SnmpErrorStatus |
getError(int columnIndex) |
|
org.snmp4j.smi.OID |
getIndex() |
Gets the SNMP row index (the OID suffix that identifies a row in this table).
|
List<IT> |
getIndexObjects() |
|
IT |
getIndexValue(int indexColumn) |
|
T |
getValue(int columnIndex) |
|
List<T> |
getValues() |
|
void |
setErrorStatus(int errorIndex,
SnmpErrorStatus errorStatus) |
|
void |
setValue(int columnIndex,
T value) |
|
int |
size() |
Returns the number of elements in this row.
|
String |
toString() |
public org.snmp4j.smi.OID getIndex()
SnmpProxyRow
getIndex
in interface SnmpProxyRow<IT,T>
public List<IT> getIndexObjects()
getIndexObjects
in interface SnmpProxyRow<IT,T>
public IT getIndexValue(int indexColumn)
getIndexValue
in interface SnmpProxyRow<IT,T>
public T getValue(int columnIndex)
getValue
in interface SnmpProxyRow<IT,T>
public void setValue(int columnIndex, T value)
setValue
in interface SnmpProxyRow<IT,T>
public SnmpErrorStatus getError(int columnIndex)
getError
in interface SnmpProxyRow<IT,T>
public void setErrorStatus(int errorIndex, SnmpErrorStatus errorStatus)
public int size()
SnmpProxyRow
size
in interface SnmpProxyRow<IT,T>
Copyright © 2020 SNMP4J.org. All rights reserved.