Package org.snmp4j.agent.example
Class Snmp4jDemoMib.Snmp4jDemoEntryRow
java.lang.Object
org.snmp4j.agent.mo.DefaultMOTableRow
org.snmp4j.agent.mo.DefaultMOMutableRow2PC
org.snmp4j.agent.example.Snmp4jDemoMib.Snmp4jDemoEntryRow
- All Implemented Interfaces:
Comparable
,MOMutableRow2PC
,MOMutableTableRow
,MOTableRow
- Enclosing class:
Snmp4jDemoMib
-
Field Summary
Fields inherited from class org.snmp4j.agent.mo.DefaultMOTableRow
index, values
-
Constructor Summary
ConstructorDescriptionSnmp4jDemoEntryRow
(org.snmp4j.smi.OID index, org.snmp4j.smi.Variable[] values) -
Method Summary
Modifier and TypeMethodDescriptionorg.snmp4j.smi.Integer32
org.snmp4j.smi.OctetString
org.snmp4j.smi.Counter32
org.snmp4j.smi.TimeTicks
org.snmp4j.smi.Integer32
org.snmp4j.smi.Integer32
org.snmp4j.smi.Integer32
org.snmp4j.smi.Variable
getValue
(int column) Gets the value at the specified column index.void
setSnmp4jDemoEntryCol1
(org.snmp4j.smi.Integer32 newColValue) void
setSnmp4jDemoEntryCol2
(org.snmp4j.smi.OctetString newColValue) void
setSnmp4jDemoEntryCol3
(org.snmp4j.smi.Counter32 newColValue) void
setSnmp4jDemoEntryCol4
(org.snmp4j.smi.TimeTicks newColValue) void
setSnmp4jDemoEntryCol5
(org.snmp4j.smi.Integer32 newColValue) void
setSnmp4jDemoEntryCol6
(org.snmp4j.smi.Integer32 newColValue) void
setSnmp4jDemoTableRowModification
(org.snmp4j.smi.Integer32 newColValue) void
setValue
(int column, org.snmp4j.smi.Variable value) Sets the value of a column of this row.Methods inherited from class org.snmp4j.agent.mo.DefaultMOMutableRow2PC
cleanup, cleanupRow, commit, commitRow, getBaseRow, getIndex, getResultingValue, getUserObject, prepare, prepareRow, setBaseRow, setUserObject, size, toString, undo, undoRow
Methods inherited from class org.snmp4j.agent.mo.DefaultMOTableRow
compareTo, equals, hashCode, toStringMembers
-
Constructor Details
-
Snmp4jDemoEntryRow
public Snmp4jDemoEntryRow(org.snmp4j.smi.OID index, org.snmp4j.smi.Variable[] values)
-
-
Method Details
-
getSnmp4jDemoEntryCol1
public org.snmp4j.smi.Integer32 getSnmp4jDemoEntryCol1() -
setSnmp4jDemoEntryCol1
public void setSnmp4jDemoEntryCol1(org.snmp4j.smi.Integer32 newColValue) -
getSnmp4jDemoEntryCol2
public org.snmp4j.smi.OctetString getSnmp4jDemoEntryCol2() -
setSnmp4jDemoEntryCol2
public void setSnmp4jDemoEntryCol2(org.snmp4j.smi.OctetString newColValue) -
getSnmp4jDemoEntryCol3
public org.snmp4j.smi.Counter32 getSnmp4jDemoEntryCol3() -
setSnmp4jDemoEntryCol3
public void setSnmp4jDemoEntryCol3(org.snmp4j.smi.Counter32 newColValue) -
getSnmp4jDemoEntryCol4
public org.snmp4j.smi.TimeTicks getSnmp4jDemoEntryCol4() -
setSnmp4jDemoEntryCol4
public void setSnmp4jDemoEntryCol4(org.snmp4j.smi.TimeTicks newColValue) -
getSnmp4jDemoEntryCol5
public org.snmp4j.smi.Integer32 getSnmp4jDemoEntryCol5() -
setSnmp4jDemoEntryCol5
public void setSnmp4jDemoEntryCol5(org.snmp4j.smi.Integer32 newColValue) -
getSnmp4jDemoEntryCol6
public org.snmp4j.smi.Integer32 getSnmp4jDemoEntryCol6() -
setSnmp4jDemoEntryCol6
public void setSnmp4jDemoEntryCol6(org.snmp4j.smi.Integer32 newColValue) -
getSnmp4jDemoTableRowModification
public org.snmp4j.smi.Integer32 getSnmp4jDemoTableRowModification() -
setSnmp4jDemoTableRowModification
public void setSnmp4jDemoTableRowModification(org.snmp4j.smi.Integer32 newColValue) -
getValue
public org.snmp4j.smi.Variable getValue(int column) Description copied from interface:MOTableRow
Gets the value at the specified column index.- Specified by:
getValue
in interfaceMOTableRow
- Overrides:
getValue
in classDefaultMOMutableRow2PC
- Parameters:
column
- the zero-based column index.- Returns:
- the value at the specified index.
-
setValue
public void setValue(int column, org.snmp4j.smi.Variable value) Description copied from interface:MOMutableTableRow
Sets the value of a column of this row.- Specified by:
setValue
in interfaceMOMutableTableRow
- Overrides:
setValue
in classDefaultMOMutableRow2PC
- Parameters:
column
- the (zero-based) column index.value
- the new value for the specified column. Implementations of this method may not check the value's type to match the columns type for performance reasons. Thus, the caller have to make sure that the type's match to avoid runtime exceptions later.
-