com.caucho.server.snmp.types
Class SequenceValue<T extends SnmpValue>

java.lang.Object
  extended by com.caucho.server.snmp.types.SnmpValue
      extended by com.caucho.server.snmp.types.SequenceValue<T>
Direct Known Subclasses:
VarBindListValue, VarBindValue

public class SequenceValue<T extends SnmpValue>
extends SnmpValue


Field Summary
 
Fields inherited from class com.caucho.server.snmp.types.SnmpValue
COUNTER, EOC, GAUGE, GET_NEXT_REQUEST_PDU, GET_REQUEST_PDU, GET_RESPONSE_PDU, INTEGER, IP_ADDRESS, NULL, OBJECT_IDENTIFIER, OCTET_STRING, OPAQUE, SEQUENCE, SET_REQUEST_PDU, TIME_TICKS, TRAP_PDU
 
Constructor Summary
SequenceValue()
           
 
Method Summary
 void add(T item)
           
 void clear()
           
 T get(int index)
           
 int getType()
           
 java.util.Iterator<T> iterator()
           
 int size()
           
 void toAsn1(java.lang.StringBuilder sb)
           
 java.lang.String toString()
           
 
Methods inherited from class com.caucho.server.snmp.types.SnmpValue
create, create, create, getLong, getString, header, toAsn1, typeName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SequenceValue

public SequenceValue()
Method Detail

add

public void add(T item)

get

public T get(int index)

size

public int size()

iterator

public java.util.Iterator<T> iterator()

clear

public void clear()

getType

public int getType()
Specified by:
getType in class SnmpValue

toAsn1

public void toAsn1(java.lang.StringBuilder sb)
Specified by:
toAsn1 in class SnmpValue

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object