Packages

c

org.cert.netsa.io.ipfix

CollectedBasicList

final class CollectedBasicList extends BasicList

The CollectedBasicList class is used when reading a BasicList from a data stream. The class delays realizing the elements of this until they are requested.

Use the methods in the BasicList companion object to create a CollectedBasicList instance.

See also

The BasicList companion object for a factory method.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CollectedBasicList
  2. BasicList
  3. ListElement
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new CollectedBasicList(buffer: ByteBuffer, session: Session)

    buffer

    The ByteBuffer containing the data representing the list.

    session

    The IPFIX session from which the buffer was read.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def allBasicListElements: Set[InfoElement]

    Creates a Set containing the InfoElement used by any BasicList on this list and its sub-lists, recursively.

    Creates a Set containing the InfoElement used by any BasicList on this list and its sub-lists, recursively.

    Definition Classes
    BasicListListElement
  5. def allTemplates: Set[Template]

    Creates a Set containing the Templates used by the list and any sub-lists, recursively.

    Creates a Set containing the Templates used by the list and any sub-lists, recursively.

    Definition Classes
    BasicListListElement
  6. def apply(idx: Int): Record

    Returns a Record that represents an entry in the list.

    Returns a Record that represents an entry in the list.

    idx

    The index of the entry to return. Entries are numbered from 0 up to size.

    Definition Classes
    CollectedBasicListListElement
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. def elements[T]: Iterator[T]

    Returns an Iterator over the elements in the list.

    Returns an Iterator over the elements in the list.

    T

    The type to cast the elements to

    Definition Classes
    CollectedBasicListBasicList
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. def formatted: String
    Definition Classes
    BasicListListElement
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. lazy val ident: Identifier

    Gets the identifier for the information element that describes the items in this list.

    Gets the identifier for the information element that describes the items in this list.

    Definition Classes
    CollectedBasicListBasicList
  17. lazy val infoElement: InfoElement

    The information element that describes the items in this list.

    The information element that describes the items in this list.

    Definition Classes
    CollectedBasicListBasicList
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def iterator: Iterator[Record]

    Returns an iterator over the records in the list.

    Returns an iterator over the records in the list.

    Definition Classes
    CollectedBasicListListElement
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. def octetLength: Int

    Returns the length of the ListElement when writing to an IPFIX stream.

    Returns the length of the ListElement when writing to an IPFIX stream.

    Definition Classes
    BasicListListElement
  24. def readSemanticId(buffer: ByteBuffer): Short

    Read the semanticId

    Read the semanticId

    Attributes
    protected
    Definition Classes
    ListElement
  25. val semanticId: Short

    The ID of the semantic value for the list.

    The ID of the semantic value for the list.

    Attributes
    protected
    Definition Classes
    CollectedBasicListListElement
  26. final lazy val semantics: ListSemantics

    Returns the sematics of the elements in this list.

    Returns the sematics of the elements in this list.

    Definition Classes
    ListElement
  27. val session: Session
  28. lazy val size: Int

    Returns the number of entries in the list.

    Returns the number of entries in the list.

    Definition Classes
    CollectedBasicListListElement
  29. val spec: IEFieldSpecifier

    The InfoElement and the length of each element in the list.

    The InfoElement and the length of each element in the list.

    Definition Classes
    CollectedBasicListBasicList
  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. def toBuffer(outbuf: ByteBuffer, session: Session): ByteBuffer

    Appends this BasicList to a buffer for writing to an IPFIX stream.

    Appends this BasicList to a buffer for writing to an IPFIX stream. The function uses the template IDs in session if the BasicList contains SubTemplateLists or a SubTemplateMultiList. Assumes those Templates have already been written to the buffer.

    Definition Classes
    CollectedBasicListBasicListListElement
  32. def toString(): String
    Definition Classes
    BasicListListElement → AnyRef → Any
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from BasicList

Inherited from ListElement

Inherited from AnyRef

Inherited from Any

Ungrouped