public final class FrameStart extends java.lang.Object implements FrameEvent, scala.Product, java.io.Serializable
lastPart == true. Otherwise,
following events will be FrameData events that contain the remaining data of the frame.| Constructor and Description |
|---|
FrameStart(FrameHeader header,
org.apache.pekko.util.ByteString data) |
| Modifier and Type | Method and Description |
|---|---|
abstract static R |
apply(T1 v1,
T2 v2) |
org.apache.pekko.util.ByteString |
data() |
FrameHeader |
header() |
boolean |
isFullMessage() |
boolean |
lastPart() |
static java.lang.String |
toString() |
FrameStart |
withData(org.apache.pekko.util.ByteString data) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic FrameStart(FrameHeader header, org.apache.pekko.util.ByteString data)
public abstract static R apply(T1 v1,
T2 v2)
public static java.lang.String toString()
public FrameHeader header()
public org.apache.pekko.util.ByteString data()
data in interface FrameEventpublic boolean lastPart()
lastPart in interface FrameEventpublic FrameStart withData(org.apache.pekko.util.ByteString data)
withData in interface FrameEventpublic boolean isFullMessage()