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

Public Member Functions

 __construct (private string $ip, private int $port, private int $version)
 
 __toString ()
 
 equals (InternetAddress $address)
 
 getIp ()
 
 getPort ()
 
 getVersion ()
 
 toString ()
 

Detailed Description

Definition at line 19 of file InternetAddress.php.

Constructor & Destructor Documentation

◆ __construct()

raklib\utils\InternetAddress::__construct ( private string $ip,
private int $port,
private int $version )

Definition at line 20 of file InternetAddress.php.

Member Function Documentation

◆ __toString()

raklib\utils\InternetAddress::__toString ( )

Definition at line 42 of file InternetAddress.php.

◆ equals()

raklib\utils\InternetAddress::equals ( InternetAddress $address)

Definition at line 50 of file InternetAddress.php.

◆ getIp()

raklib\utils\InternetAddress::getIp ( )

Definition at line 30 of file InternetAddress.php.

◆ getPort()

raklib\utils\InternetAddress::getPort ( )

Definition at line 34 of file InternetAddress.php.

◆ getVersion()

raklib\utils\InternetAddress::getVersion ( )

Definition at line 38 of file InternetAddress.php.

◆ toString()

raklib\utils\InternetAddress::toString ( )

Definition at line 46 of file InternetAddress.php.


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