Documentation

QueryHandler
in package
implements RawPacketHandler

Interfaces, Classes, Traits and Enums

RawPacketHandler

Table of Contents

HANDSHAKE  = 9
STATISTICS  = 0
$lastToken  : string
$logger  : Logger
$server  : Server
$token  : string
__construct()  : mixed
getPattern()  : string
Returns a preg_match() compatible regex pattern used to filter packets on this handler. Only packets matching this pattern will be delivered to the handler.
getTokenString()  : int
handle()  : bool
regenerateToken()  : void

Constants

Properties

Methods

getPattern()

Returns a preg_match() compatible regex pattern used to filter packets on this handler. Only packets matching this pattern will be delivered to the handler.

public getPattern() : string
Return values
string

getTokenString()

public static getTokenString(string $token, string $salt) : int
Parameters
$token : string
$salt : string
Return values
int

regenerateToken()

public regenerateToken() : void
Return values
void

Search results