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, toStringpublic ControlFrame(Opcode opcode)
opcode - the opcode to usepublic void isValid()
throws InvalidDataException
FramedataImpl1isValid in class FramedataImpl1InvalidDataException - thrown if the frame is not a valid frameCopyright © 2022. All rights reserved.