Property | Type | Description | |
---|---|---|---|
$portChecking |
Property | Type | Description | |
---|---|---|---|
$block | |||
$ipSec | |||
$lastMeasure | |||
$name | |||
$packetLimit | |||
$packetPool | |||
$receiveBytes | |||
$sendBytes | |||
$server | |||
$sessions | |||
$shutdown | |||
$socket | |||
$ticks |
Method | Description | |
---|---|---|
__construct ( |
||
blockAddress ( $address, $timeout = 300 ) | ||
getID ( ) | ||
getLogger ( ) | ||
getName ( ) : string | ||
getPacketFromPool ( $id ) : |
||
getPort ( ) | ||
getSession ( string $ip, integer $port ) : |
||
notifyACK ( |
||
openSession ( |
||
receiveStream ( ) | ||
removeSession ( |
||
run ( ) | ||
sendPacket ( |
||
streamEncapsulated ( |
||
streamRaw ( $address, $port, $payload ) | ||
unblockAddress ( $address ) |
Method | Description | |
---|---|---|
streamACK ( $identifier, $identifierACK ) | ||
streamClose ( $identifier, $reason ) | ||
streamInvalid ( $identifier ) | ||
streamOpen ( |
||
streamOption ( $name, $value ) |
Method | Description | |
---|---|---|
checkSessions ( ) | ||
receivePacket ( ) | ||
registerPacket ( $id, $class ) | ||
registerPackets ( ) | ||
tick ( ) | ||
tickProcessor ( ) |
public __construct ( |
||
$server | ||
$socket |
public getPacketFromPool ( $id ) : |
||
$id | ||
return |
public getSession ( string $ip, integer $port ) : |
||
$ip | string | |
$port | integer | |
return |
public removeSession ( |
||
$session |
public sendPacket ( |
||
$packet |
public streamEncapsulated ( |
||
$session | ||
$packet |