Trait

org.cert.netsa.io.ipfix

DataType

Related Doc: package ipfix

Permalink

trait DataType extends AnyRef

The DataType trait defines members that must exist on classes that provide an implementation of each possible DataTypes value, where those values represent an IPFIX Information Element Data Types as defined in RFC5102.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DataType
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def checkType(obj: Any): Boolean

    Permalink

    Returns true when obj is the correct type for the DataType.

  2. abstract val defaultLength: Int

    Permalink

    The default length of the DataType.

  3. abstract def getValue(buffer: ByteBuffer, session: Session, ie: InfoElement): Any

    Permalink

    Converts the bytes in the ByteBuffer which represent the specified InfoElement to an object.

    Converts the bytes in the ByteBuffer which represent the specified InfoElement to an object. session is where buffer was collected, and it is used to resolve the contents of ListElements.

  4. abstract val id: DataTypes

    Permalink

    A reference to the DataTypes value that this class implements.

  5. abstract val maximumValue: Option[Long]

    Permalink

    An optional maximum value for the DataType.

  6. abstract val minimumValue: Option[Long]

    Permalink

    An optional minimum value for the DataType.

  7. abstract val name: String

    Permalink

    The name of the DataType.

  8. abstract def octetLength(obj: Any, len: Int): Int

    Permalink

    Returns the number of bytes that toBuffer() would write to the buffer, where len is the length of the InfoElement according to the record's Template (that is, the length member of the IEFieldSpecifier).

    Returns the number of bytes that toBuffer() would write to the buffer, where len is the length of the InfoElement according to the record's Template (that is, the length member of the IEFieldSpecifier). Returns VARLEN when obj is not of the correct type for the DataType. This method is useful primarily for determining the length of variable length data types.

  9. abstract def toBuffer(buffer: ByteBuffer, session: Session, len: Int, obj: Any): ByteBuffer

    Permalink

    Converts the object into a stream of bytes and appends the bytes to the ByteBuffer, where len is the length of the InfoElement according to the record's Template (that is, the length member of the IEFieldSpecifier).

    Converts the object into a stream of bytes and appends the bytes to the ByteBuffer, where len is the length of the InfoElement according to the record's Template (that is, the length member of the IEFieldSpecifier). When the object is a SubTemplateList or SubTemplateMultiList, session is used to find the Template given a Template ID.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  14. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  16. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped