NACK
extends AcknowledgePacket
in package
Table of Contents
- RECORD_TYPE_RANGE = 0
- RECORD_TYPE_SINGLE = 1
- $ID : mixed
- $packets : array<string|int, int>
- decode() : void
- encode() : void
- decodeHeader() : void
- decodePayload() : void
- encodeHeader() : void
- encodePayload() : void
Constants
RECORD_TYPE_RANGE
private
mixed
RECORD_TYPE_RANGE
= 0
RECORD_TYPE_SINGLE
private
mixed
RECORD_TYPE_SINGLE
= 1
Properties
$ID
public
static mixed
$ID
= 0xa0
$packets
public
array<string|int, int>
$packets
= []
Methods
decode()
public
decode(PacketSerializer $in) : void
Parameters
- $in : PacketSerializer
Tags
Return values
void —encode()
public
encode(PacketSerializer $out) : void
Parameters
- $out : PacketSerializer
Return values
void —decodeHeader()
protected
decodeHeader(PacketSerializer $in) : void
Parameters
- $in : PacketSerializer
Tags
Return values
void —decodePayload()
protected
abstract decodePayload(PacketSerializer $in) : void
Parameters
- $in : PacketSerializer
Tags
Return values
void —encodeHeader()
protected
encodeHeader(PacketSerializer $out) : void
Parameters
- $out : PacketSerializer
Return values
void —encodePayload()
protected
abstract encodePayload(PacketSerializer $out) : void
Parameters
- $out : PacketSerializer