public abstract class ControlFrame extends FramedataImpl1
Framedata.Opcode
构造器和说明 |
---|
ControlFrame(Framedata.Opcode opcode)
Class to represent a control frame
|
限定符和类型 | 方法和说明 |
---|---|
void |
isValid()
Check if the frame is valid due to specification
|
append, get, getOpcode, getPayloadData, getTransfereMasked, isFin, isRSV1, isRSV2, isRSV3, setFin, setPayload, setRSV1, setRSV2, setRSV3, setTransferemasked, toString
public ControlFrame(Framedata.Opcode opcode)
opcode
- the opcode to usepublic void isValid() throws InvalidDataException
FramedataImpl1
isValid
在类中 FramedataImpl1
InvalidDataException
- thrown if the frame is not a valid frame