|
| __construct (Server $server) |
|
| setNetwork (Network $network) |
|
| process () |
|
| closeSession ($identifier, $reason) |
|
| close (Player $player, $reason="unknown reason") |
|
| shutdown () |
|
| emergencyShutdown () |
|
| openSession ($identifier, $address, $port, $clientID) |
|
| handleEncapsulated ($identifier, EncapsulatedPacket $packet, $flags) |
|
| blockAddress ($address, $timeout=300) |
|
| handleRaw ($address, $port, $payload) |
|
| sendRawPacket ($address, $port, $payload) |
|
| notifyACK ($identifier, $identifierACK) |
|
| setName ($name) |
|
| setPortCheck ($name) |
|
| handleOption ($name, $value) |
|
| putPacket (Player $player, DataPacket $packet, $needACK=false, $immediate=false) |
|
blockAddress |
( |
|
$address, |
|
|
|
$timeout = 300 |
|
) |
| |
close |
( |
Player |
$player, |
|
|
|
$reason = "unknown reason" |
|
) |
| |
putPacket |
( |
Player |
$player, |
|
|
DataPacket |
$packet, |
|
|
|
$needACK = false , |
|
|
|
$immediate = false |
|
) |
| |
Sends a DataPacket to the interface, returns an unique identifier for the packet if $needACK is true
- Parameters
-
Player | $player | |
DataPacket | $packet | |
bool | $needACK | |
bool | $immediate | |
- Returns
- int
Implements SourceInterface.
sendRawPacket |
( |
|
$address, |
|
|
|
$port, |
|
|
|
$payload |
|
) |
| |
The documentation for this class was generated from the following file:
- /Users/Kids/Desktop/Doxygen/pocketmine/network/RakLibInterface.php