Class/Object

org.cert.netsa.io.silk

Header

Related Docs: object Header | package silk

Permalink

case class Header(fileFlags: Byte, fileFormat: FileFormat, fileVersion: Byte, compressionMethod: CompressionMethod, silkVersion: SilkVersion, recordSize: Short, recordVersion: Short, headerEntries: IndexedSeq[HeaderEntry]) extends Product with Serializable

A SiLK file header, including contained header entries. Supports only "new-style" header format (SiLK versions 1.0+).

fileFlags

The bits encoding file flags. Currently only whether the file is big-endian.

fileFormat

The SiLK file format contained within this file.

fileVersion

The SiLK file version--specifically the version of the header format.

compressionMethod

The compression method used by data in this file.

silkVersion

The version of SiLK used to create this file.

recordSize

The size of individual (uncompressed) records in this file.

recordVersion

The record version of the file format.

headerEntries

Sequence of additional extensible header records of various types.

See also

Header.isBigEndian

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Header
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Header(fileFlags: Byte, fileFormat: FileFormat, fileVersion: Byte, compressionMethod: CompressionMethod, silkVersion: SilkVersion, recordSize: Short, recordVersion: Short, headerEntries: IndexedSeq[HeaderEntry])

    Permalink

    fileFlags

    The bits encoding file flags. Currently only whether the file is big-endian.

    fileFormat

    The SiLK file format contained within this file.

    fileVersion

    The SiLK file version--specifically the version of the header format.

    compressionMethod

    The compression method used by data in this file.

    silkVersion

    The version of SiLK used to create this file.

    recordSize

    The size of individual (uncompressed) records in this file.

    recordVersion

    The record version of the file format.

    headerEntries

    Sequence of additional extensible header records of various types.

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. def annotations: Seq[String]

    Permalink

    Annotations made on this SiLK file, if any.

  5. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val compressionMethod: CompressionMethod

    Permalink

    The compression method used by data in this file.

  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. val fileFlags: Byte

    Permalink

    The bits encoding file flags.

    The bits encoding file flags. Currently only whether the file is big-endian.

  10. val fileFormat: FileFormat

    Permalink

    The SiLK file format contained within this file.

  11. val fileVersion: Byte

    Permalink

    The SiLK file version--specifically the version of the header format.

  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def flowTypeId: Option[FlowType]

    Permalink

    Optional SiLK flow type for all flows in this packed file.

  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. val headerEntries: IndexedSeq[HeaderEntry]

    Permalink

    Sequence of additional extensible header records of various types.

  16. def invocations: Seq[String]

    Permalink

    Command-lines used to produce this SiLK file, if any.

  17. def isBigEndian: Boolean

    Permalink

    True if data within the records of this file are stored in big-endian (MSB first) format.

  18. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  22. def probeName: Option[String]

    Permalink

    Optional probe name recorded with SiLK file.

  23. val recordSize: Short

    Permalink

    The size of individual (uncompressed) records in this file.

  24. val recordVersion: Short

    Permalink

    The record version of the file format.

  25. def sensorId: Option[Sensor]

    Permalink

    Optional SiLK sensor ID for all flows in this packed file.

  26. val silkVersion: SilkVersion

    Permalink

    The version of SiLK used to create this file.

  27. def startTimeOffset: Option[Long]

    Permalink

    Optional base start time, in milliseconds since the UNIX epoch.

    Optional base start time, in milliseconds since the UNIX epoch. Times in this packed file are expressed as a delta from this base start time.

  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. def writeTo(outputStream: OutputStream): Unit

    Permalink

    Writes the header to the provided output stream.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped