Packages

final case class StreamMessageReader(channel: ReadableByteChannel, sessionGroup: SessionGroup) extends MessageReader with Product with Serializable

The StreamMessageReader is used to get the next Message from a channel. An instance of this type is normally created by an InputStreamSession.

channel

The channel to read.

sessionGroup

The SessionGroup that holds the InfoModel used to interpret data read from the channel.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StreamMessageReader
  2. Serializable
  3. Product
  4. Equals
  5. MessageReader
  6. Iterator
  7. IterableOnceOps
  8. IterableOnce
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new StreamMessageReader(channel: ReadableByteChannel, sessionGroup: SessionGroup)

    channel

    The channel to read.

    sessionGroup

    The SessionGroup that holds the InfoModel used to interpret data read from the channel.

Type Members

  1. class GroupedIterator[B >: A] extends AbstractIterator[Seq[B]]
    Definition Classes
    Iterator

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ++[B >: CollectedMessage](xs: => IterableOnce[B]): Iterator[B]
    Definition Classes
    Iterator
    Annotations
    @inline()
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def addString(b: StringBuilder): StringBuilder
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  6. final def addString(b: StringBuilder, sep: String): StringBuilder
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  7. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
    Definition Classes
    IterableOnceOps
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def buffered: BufferedIterator[CollectedMessage]
    Definition Classes
    Iterator
  10. val channel: ReadableByteChannel
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  12. def collect[B](pf: PartialFunction[CollectedMessage, B]): Iterator[B]
    Definition Classes
    Iterator → IterableOnceOps
  13. def collectFirst[B](pf: PartialFunction[CollectedMessage, B]): Option[B]
    Definition Classes
    IterableOnceOps
  14. def concat[B >: CollectedMessage](xs: => IterableOnce[B]): Iterator[B]
    Definition Classes
    Iterator
  15. def contains(elem: Any): Boolean
    Definition Classes
    Iterator
  16. def copyToArray[B >: CollectedMessage](xs: Array[B], start: Int, len: Int): Int
    Definition Classes
    IterableOnceOps
  17. def copyToArray[B >: CollectedMessage](xs: Array[B], start: Int): Int
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  18. def copyToArray[B >: CollectedMessage](xs: Array[B]): Int
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  19. def corresponds[B](that: IterableOnce[B])(p: (CollectedMessage, B) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  20. def count(p: (CollectedMessage) => Boolean): Int
    Definition Classes
    IterableOnceOps
  21. def distinct: Iterator[CollectedMessage]
    Definition Classes
    Iterator
  22. def distinctBy[B](f: (CollectedMessage) => B): Iterator[CollectedMessage]
    Definition Classes
    Iterator
  23. def drop(n: Int): Iterator[CollectedMessage]
    Definition Classes
    Iterator → IterableOnceOps
  24. def dropWhile(p: (CollectedMessage) => Boolean): Iterator[CollectedMessage]
    Definition Classes
    Iterator → IterableOnceOps
  25. def duplicate: (Iterator[CollectedMessage], Iterator[CollectedMessage])
    Definition Classes
    Iterator
  26. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. def exists(p: (CollectedMessage) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  28. def filter(p: (CollectedMessage) => Boolean): Iterator[CollectedMessage]
    Definition Classes
    Iterator → IterableOnceOps
  29. def filterNot(p: (CollectedMessage) => Boolean): Iterator[CollectedMessage]
    Definition Classes
    Iterator → IterableOnceOps
  30. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  31. def find(p: (CollectedMessage) => Boolean): Option[CollectedMessage]
    Definition Classes
    IterableOnceOps
  32. def flatMap[B](f: (CollectedMessage) => IterableOnce[B]): Iterator[B]
    Definition Classes
    Iterator → IterableOnceOps
  33. def flatten[B](implicit ev: (CollectedMessage) => IterableOnce[B]): Iterator[B]
    Definition Classes
    Iterator → IterableOnceOps
  34. def fold[A1 >: CollectedMessage](z: A1)(op: (A1, A1) => A1): A1
    Definition Classes
    IterableOnceOps
  35. def foldLeft[B](z: B)(op: (B, CollectedMessage) => B): B
    Definition Classes
    IterableOnceOps
  36. def foldRight[B](z: B)(op: (CollectedMessage, B) => B): B
    Definition Classes
    IterableOnceOps
  37. def forall(p: (CollectedMessage) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  38. def foreach[U](f: (CollectedMessage) => U): Unit
    Definition Classes
    IterableOnceOps
  39. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  40. def grouped[B >: CollectedMessage](size: Int): GroupedIterator[B]
    Definition Classes
    Iterator
  41. def hasNext: Boolean

    Returns true if channel contains enough bytes to contain an IPFIX Message header.

    Returns true if channel contains enough bytes to contain an IPFIX Message header. Returns false when all data has been read. Blocks if channel does not have the necessary number of bytes and is not at end-of-file. May throw an error generated from reading the channel or if the channel contains an incomplete Message.

    Definition Classes
    StreamMessageReader → Iterator
  42. def indexOf[B >: CollectedMessage](elem: B, from: Int): Int
    Definition Classes
    Iterator
  43. def indexOf[B >: CollectedMessage](elem: B): Int
    Definition Classes
    Iterator
  44. def indexWhere(p: (CollectedMessage) => Boolean, from: Int): Int
    Definition Classes
    Iterator
  45. def isEmpty: Boolean
    Definition Classes
    Iterator → IterableOnceOps
    Annotations
    @deprecatedOverriding()
  46. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  47. def isTraversableAgain: Boolean
    Definition Classes
    IterableOnceOps
  48. final def iterator: Iterator[CollectedMessage]
    Definition Classes
    Iterator → IterableOnce
    Annotations
    @inline()
  49. def knownSize: Int
    Definition Classes
    IterableOnce
  50. final def length: Int
    Definition Classes
    Iterator
    Annotations
    @inline()
  51. def map[B](f: (CollectedMessage) => B): Iterator[B]
    Definition Classes
    Iterator → IterableOnceOps
  52. def max[B >: CollectedMessage](implicit ord: Ordering[B]): CollectedMessage
    Definition Classes
    IterableOnceOps
  53. def maxBy[B](f: (CollectedMessage) => B)(implicit cmp: Ordering[B]): CollectedMessage
    Definition Classes
    IterableOnceOps
  54. def maxByOption[B](f: (CollectedMessage) => B)(implicit cmp: Ordering[B]): Option[CollectedMessage]
    Definition Classes
    IterableOnceOps
  55. def maxOption[B >: CollectedMessage](implicit ord: Ordering[B]): Option[CollectedMessage]
    Definition Classes
    IterableOnceOps
  56. def min[B >: CollectedMessage](implicit ord: Ordering[B]): CollectedMessage
    Definition Classes
    IterableOnceOps
  57. def minBy[B](f: (CollectedMessage) => B)(implicit cmp: Ordering[B]): CollectedMessage
    Definition Classes
    IterableOnceOps
  58. def minByOption[B](f: (CollectedMessage) => B)(implicit cmp: Ordering[B]): Option[CollectedMessage]
    Definition Classes
    IterableOnceOps
  59. def minOption[B >: CollectedMessage](implicit ord: Ordering[B]): Option[CollectedMessage]
    Definition Classes
    IterableOnceOps
  60. final def mkString: String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  61. final def mkString(sep: String): String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  62. final def mkString(start: String, sep: String, end: String): String
    Definition Classes
    IterableOnceOps
  63. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  64. def next(): CollectedMessage

    Returns the next Message read from channel.

    Returns the next Message read from channel. Throws an exception if there is no more data or if there is an issue interpreting the data as a Message.

    If InvalidIPFIXMessageException is thrown, the buffer's position is not changed, and another call to next() throws the same exception.

    Definition Classes
    StreamMessageReader → Iterator
  65. def nextOption(): Option[CollectedMessage]
    Definition Classes
    Iterator
  66. def nonEmpty: Boolean
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  67. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  68. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  69. def padTo[B >: CollectedMessage](len: Int, elem: B): Iterator[B]
    Definition Classes
    Iterator
  70. def partition(p: (CollectedMessage) => Boolean): (Iterator[CollectedMessage], Iterator[CollectedMessage])
    Definition Classes
    Iterator
  71. def patch[B >: CollectedMessage](from: Int, patchElems: Iterator[B], replaced: Int): Iterator[B]
    Definition Classes
    Iterator
  72. var pending: Option[Throwable]

    Holds an exception encountered during read until all previously read data is processed

  73. def product[B >: CollectedMessage](implicit num: Numeric[B]): B
    Definition Classes
    IterableOnceOps
  74. def productElementNames: Iterator[String]
    Definition Classes
    Product
  75. def reduce[B >: CollectedMessage](op: (B, B) => B): B
    Definition Classes
    IterableOnceOps
  76. def reduceLeft[B >: CollectedMessage](op: (B, CollectedMessage) => B): B
    Definition Classes
    IterableOnceOps
  77. def reduceLeftOption[B >: CollectedMessage](op: (B, CollectedMessage) => B): Option[B]
    Definition Classes
    IterableOnceOps
  78. def reduceOption[B >: CollectedMessage](op: (B, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  79. def reduceRight[B >: CollectedMessage](op: (CollectedMessage, B) => B): B
    Definition Classes
    IterableOnceOps
  80. def reduceRightOption[B >: CollectedMessage](op: (CollectedMessage, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  81. def reversed: Iterable[CollectedMessage]
    Attributes
    protected
    Definition Classes
    IterableOnceOps
  82. def sameElements[B >: CollectedMessage](that: IterableOnce[B]): Boolean
    Definition Classes
    Iterator
  83. def scanLeft[B](z: B)(op: (B, CollectedMessage) => B): Iterator[B]
    Definition Classes
    Iterator → IterableOnceOps
  84. val sessionGroup: SessionGroup

    The SessionGroup that holds the InfoModel used to interpret data in the Messages.

    The SessionGroup that holds the InfoModel used to interpret data in the Messages.

    Definition Classes
    StreamMessageReaderMessageReader
  85. def size: Int
    Definition Classes
    IterableOnceOps
  86. def slice(from: Int, until: Int): Iterator[CollectedMessage]
    Definition Classes
    Iterator → IterableOnceOps
  87. def sliceIterator(from: Int, until: Int): Iterator[CollectedMessage]
    Attributes
    protected
    Definition Classes
    Iterator
  88. def sliding[B >: CollectedMessage](size: Int, step: Int): GroupedIterator[B]
    Definition Classes
    Iterator
  89. def span(p: (CollectedMessage) => Boolean): (Iterator[CollectedMessage], Iterator[CollectedMessage])
    Definition Classes
    Iterator → IterableOnceOps
  90. def splitAt(n: Int): (Iterator[CollectedMessage], Iterator[CollectedMessage])
    Definition Classes
    IterableOnceOps
  91. def stepper[S <: Stepper[_]](implicit shape: StepperShape[CollectedMessage, S]): S
    Definition Classes
    IterableOnce
  92. def sum[B >: CollectedMessage](implicit num: Numeric[B]): B
    Definition Classes
    IterableOnceOps
  93. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  94. def take(n: Int): Iterator[CollectedMessage]
    Definition Classes
    Iterator → IterableOnceOps
  95. def takeWhile(p: (CollectedMessage) => Boolean): Iterator[CollectedMessage]
    Definition Classes
    Iterator → IterableOnceOps
  96. def tapEach[U](f: (CollectedMessage) => U): Iterator[CollectedMessage]
    Definition Classes
    Iterator → IterableOnceOps
  97. def to[C1](factory: Factory[CollectedMessage, C1]): C1
    Definition Classes
    IterableOnceOps
  98. def toArray[B >: CollectedMessage](implicit arg0: ClassTag[B]): Array[B]
    Definition Classes
    IterableOnceOps
  99. final def toBuffer[B >: CollectedMessage]: Buffer[B]
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  100. def toIndexedSeq: IndexedSeq[CollectedMessage]
    Definition Classes
    IterableOnceOps
  101. def toList: List[CollectedMessage]
    Definition Classes
    IterableOnceOps
  102. def toMap[K, V](implicit ev: <:<[CollectedMessage, (K, V)]): Map[K, V]
    Definition Classes
    IterableOnceOps
  103. def toSeq: Seq[CollectedMessage]
    Definition Classes
    IterableOnceOps
  104. def toSet[B >: CollectedMessage]: Set[B]
    Definition Classes
    IterableOnceOps
  105. def toString(): String
    Definition Classes
    Iterator → AnyRef → Any
  106. def toVector: Vector[CollectedMessage]
    Definition Classes
    IterableOnceOps
  107. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  108. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  109. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  110. def withFilter(p: (CollectedMessage) => Boolean): Iterator[CollectedMessage]
    Definition Classes
    Iterator
  111. def zip[B](that: IterableOnce[B]): Iterator[(CollectedMessage, B)]
    Definition Classes
    Iterator
  112. def zipAll[A1 >: CollectedMessage, B](that: IterableOnce[B], thisElem: A1, thatElem: B): Iterator[(A1, B)]
    Definition Classes
    Iterator
  113. def zipWithIndex: Iterator[(CollectedMessage, Int)]
    Definition Classes
    Iterator → IterableOnceOps

Deprecated Value Members

  1. final def /:[B](z: B)(op: (B, CollectedMessage) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use foldLeft instead of /:

  2. final def :\[B](z: B)(op: (CollectedMessage, B) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use foldRight instead of :\

  3. def aggregate[B](z: => B)(seqop: (B, CollectedMessage) => B, combop: (B, B) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) aggregate is not relevant for sequential collections. Use foldLeft(z)(seqop) instead.

  4. final def copyToBuffer[B >: CollectedMessage](dest: Buffer[B]): Unit
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use dest ++= coll instead

  5. final def hasDefiniteSize: Boolean
    Definition Classes
    Iterator → IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) hasDefiniteSize on Iterator is the same as isEmpty

  6. def scanRight[B](z: B)(op: (CollectedMessage, B) => B): Iterator[B]
    Definition Classes
    Iterator
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Call scanRight on an Iterable instead.

  7. def seq: StreamMessageReader.this.type
    Definition Classes
    Iterator
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Iterator.seq always returns the iterator itself

  8. final def toIterator: Iterator[CollectedMessage]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator instead of .toIterator

  9. final def toStream: Stream[CollectedMessage]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .to(LazyList) instead of .toStream

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from MessageReader

Inherited from Iterator[CollectedMessage]

Inherited from AnyRef

Inherited from Any

Ungrouped