|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cisco.provisioning.cpe.api.SnmpVarList
public final class SnmpVarList
Class to encapsulate a list of SnmpVariable objects, where each element of list contains name/value/type.
| Constructor Summary | |
|---|---|
SnmpVarList()
Constructor. |
|
| Method Summary | |
|---|---|
void |
add(SnmpVariable var)
Add an SnmpVariable to the internal list of vars. |
SnmpVariable |
get(int index)
Returns the snmp variable at location pointed to by index. |
void |
readExternal(ObjectInput in)
Externalizable interface. |
int |
size()
Returns the number of Snmp variables in the list. |
String |
toString()
Creates String representation of internal state. |
void |
writeExternal(ObjectOutput out)
Externalizable interface. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SnmpVarList()
| Method Detail |
|---|
public void add(SnmpVariable var)
var - represents the snmp variable.public int size()
public SnmpVariable get(int index)
index - refers to location in list.
public String toString()
toString in class Object
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface Externalizablein - the stream to read data from in order to restore the object
IOException - if I/O errors occur
ClassNotFoundException - If the class for an object being
restored cannot be found.
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface Externalizableout - the stream to write the object to
IOException - Includes any I/O exceptions that may occur
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||