Package org.snmp4j.model.snmp.proxy.impl
Class SnmpProxyRowImpl<IT,T>
java.lang.Object
org.snmp4j.model.snmp.proxy.impl.SnmpProxyRowImpl<IT,T>
- Type Parameters:
IT
- The type of the index object values. This type can be used to define common type class for all columnar objects, likeString
. 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, likeString
. If the columns have different types,Object
should be used.
- All Implemented Interfaces:
SnmpProxyRow<IT,
T>
The
SnmpProxyRowImpl
class implements a proxy for a SNMP table row.- Author:
- Frank Fock
-
Constructor Summary
ConstructorsConstructorDescriptionSnmpProxyRowImpl
(org.snmp4j.smi.OID index, List<IT> indexObjects, List<T> columns) -
Method Summary
Modifier and TypeMethodDescriptiongetError
(int columnIndex) org.snmp4j.smi.OID
getIndex()
Gets the SNMP row index (the OID suffix that identifies a row in this table).getIndexValue
(int indexColumn) getValue
(int columnIndex) void
setErrorStatus
(int errorIndex, SnmpErrorStatus errorStatus) void
int
size()
Returns the number of elements in this row.toString()
-
Constructor Details
-
SnmpProxyRowImpl
-
-
Method Details
-
getIndex
public org.snmp4j.smi.OID getIndex()Description copied from interface:SnmpProxyRow
Gets the SNMP row index (the OID suffix that identifies a row in this table).- Specified by:
getIndex
in interfaceSnmpProxyRow<IT,
T> - Returns:
- an index OID.
-
getIndexObjects
- Specified by:
getIndexObjects
in interfaceSnmpProxyRow<IT,
T>
-
getValues
- Specified by:
getValues
in interfaceSnmpProxyRow<IT,
T>
-
getIndexValue
- Specified by:
getIndexValue
in interfaceSnmpProxyRow<IT,
T>
-
getValue
- Specified by:
getValue
in interfaceSnmpProxyRow<IT,
T>
-
setValue
- Specified by:
setValue
in interfaceSnmpProxyRow<IT,
T>
-
getError
- Specified by:
getError
in interfaceSnmpProxyRow<IT,
T>
-
setErrorStatus
-
size
public int size()Description copied from interface:SnmpProxyRow
Returns the number of elements in this row.- Specified by:
size
in interfaceSnmpProxyRow<IT,
T> - Returns:
- the number of elements.
-
toString
-