NewIncomingConnection
extends ConnectedPacket
in package
Represents a packet which is sent inside an EncapsulatedPacket.
Table of Contents
- $address : InternetAddress
- $ID : mixed
- $sendPingTime : int
- $sendPongTime : int
- $systemAddresses : array<string|int, InternetAddress>
- decode() : void
- encode() : void
- decodeHeader() : void
- decodePayload() : void
- encodeHeader() : void
- encodePayload() : void
Properties
$address
public
InternetAddress
$address
$ID
public
static mixed
$ID
= \raklib\protocol\MessageIdentifiers::ID_NEW_INCOMING_CONNECTION
$sendPingTime
public
int
$sendPingTime
$sendPongTime
public
int
$sendPongTime
$systemAddresses
public
array<string|int, InternetAddress>
$systemAddresses
= []
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
decodePayload(PacketSerializer $in) : void
Parameters
- $in : PacketSerializer
Return values
void —encodeHeader()
protected
encodeHeader(PacketSerializer $out) : void
Parameters
- $out : PacketSerializer
Return values
void —encodePayload()
protected
encodePayload(PacketSerializer $out) : void
Parameters
- $out : PacketSerializer