Class FrameStart

  • All Implemented Interfaces:
    FrameEvent, FrameEventOrError, java.io.Serializable, scala.Equals, scala.Product

    public final class FrameStart
    extends java.lang.Object
    implements FrameEvent, scala.Product, java.io.Serializable
    Starts a frame. Contains the frame's headers. May contain all the data of the frame if lastPart == true. Otherwise, following events will be FrameData events that contain the remaining data of the frame.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      FrameStart​(FrameHeader header, akka.util.ByteString data)  
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract static R apply​(T1 v1, T2 v2)  
      akka.util.ByteString data()  
      FrameHeader header()  
      boolean isFullMessage()  
      boolean lastPart()  
      static java.lang.String toString()  
      FrameStart withData​(akka.util.ByteString data)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface scala.Equals

        canEqual, equals
      • Methods inherited from interface scala.Product

        productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
    • Constructor Detail

      • FrameStart

        public FrameStart​(FrameHeader header,
                          akka.util.ByteString data)
    • Method Detail

      • apply

        public abstract static R apply​(T1 v1,
                                       T2 v2)
      • toString

        public static java.lang.String toString()
      • data

        public akka.util.ByteString data()
        Specified by:
        data in interface FrameEvent
      • isFullMessage

        public boolean isFullMessage()