PocketMine-MP 5.21.2 git-b2aa6396c3cc2cafdd815eacc360e1ad89599899
Loading...
Searching...
No Matches
raklib\protocol\NewIncomingConnection Class Reference
+ Inheritance diagram for raklib\protocol\NewIncomingConnection:
+ Collaboration diagram for raklib\protocol\NewIncomingConnection:

Public Member Functions

 decode (PacketSerializer $in)
 
 encode (PacketSerializer $out)
 

Public Attributes

InternetAddress $address
 
int $sendPingTime
 
int $sendPongTime
 
array $systemAddresses = []
 

Static Public Attributes

static $ID = MessageIdentifiers::ID_NEW_INCOMING_CONNECTION
 

Protected Member Functions

 decodeHeader (PacketSerializer $in)
 
 decodePayload (PacketSerializer $in)
 
 encodeHeader (PacketSerializer $out)
 
 encodePayload (PacketSerializer $out)
 

Detailed Description

Definition at line 23 of file NewIncomingConnection.php.

Member Function Documentation

◆ decode()

raklib\protocol\Packet::decode ( PacketSerializer $in)
inherited
Exceptions
BinaryDataException

Definition at line 39 of file raklib/src/protocol/Packet.php.

◆ decodeHeader()

raklib\protocol\Packet::decodeHeader ( PacketSerializer $in)
protectedinherited
Exceptions
BinaryDataException

Reimplemented in raklib\protocol\Datagram.

Definition at line 47 of file raklib/src/protocol/Packet.php.

◆ decodePayload()

raklib\protocol\NewIncomingConnection::decodePayload ( PacketSerializer $in)
protected
Exceptions
BinaryDataException

Reimplemented from raklib\protocol\Packet.

Definition at line 41 of file NewIncomingConnection.php.

◆ encode()

raklib\protocol\Packet::encode ( PacketSerializer $out)
inherited

Definition at line 25 of file raklib/src/protocol/Packet.php.

◆ encodeHeader()

raklib\protocol\Packet::encodeHeader ( PacketSerializer $out)
protectedinherited

Definition at line 30 of file raklib/src/protocol/Packet.php.

◆ encodePayload()

raklib\protocol\NewIncomingConnection::encodePayload ( PacketSerializer $out)
protected

Reimplemented from raklib\protocol\Packet.

Definition at line 32 of file NewIncomingConnection.php.

Member Data Documentation

◆ $address

InternetAddress raklib\protocol\NewIncomingConnection::$address

Definition at line 26 of file NewIncomingConnection.php.

◆ $ID

raklib\protocol\NewIncomingConnection::$ID = MessageIdentifiers::ID_NEW_INCOMING_CONNECTION
static

Definition at line 24 of file NewIncomingConnection.php.

◆ $sendPingTime

int raklib\protocol\NewIncomingConnection::$sendPingTime

Definition at line 29 of file NewIncomingConnection.php.

◆ $sendPongTime

int raklib\protocol\NewIncomingConnection::$sendPongTime

Definition at line 30 of file NewIncomingConnection.php.

◆ $systemAddresses

array raklib\protocol\NewIncomingConnection::$systemAddresses = []

Definition at line 28 of file NewIncomingConnection.php.


The documentation for this class was generated from the following file: