public abstract class ControlFrame extends FramedataImpl1
Constructor and Description |
---|
ControlFrame(Opcode opcode)
Class to represent a control frame
|
Modifier and Type | Method and Description |
---|---|
void |
isValid()
Check if the frame is valid due to specification
|
append, equals, get, getOpcode, getPayloadData, getTransfereMasked, hashCode, isFin, isRSV1, isRSV2, isRSV3, setFin, setPayload, setRSV1, setRSV2, setRSV3, setTransferemasked, toString
public ControlFrame(Opcode opcode)
opcode
- the opcode to usepublic void isValid() throws InvalidDataException
FramedataImpl1
isValid
in class FramedataImpl1
InvalidDataException
- thrown if the frame is not a valid frameCopyright © 2021. All rights reserved.