PHP Class synapse\network\synlib\SynapseClient

Inheritance: extends pocketmine\Thread
Afficher le fichier Open project: iTXTech/Genisys Class Usage Examples

Méthodes publiques

Свойство Type Description
$needReconnect

Méthodes publiques

Méthode Description
__construct ( ThreadedLogger $logger, ClassLoader $loader, $port, $interface = "127.0.0.1" )
cleanPath ( $path )
errorHandler ( $errno, $errstr, $errfile, $errline, $context, $trace = null )
getExternalQueue ( )
getInterface ( )
getInternalQueue ( )
getInternalQueueSize ( )
getLogger ( ) : ThreadedLogger
getPort ( )
getThreadName ( )
getTrace ( $start = 1, $trace = null )
isConnected ( ) : boolean
isGarbage ( ) : boolean
isNeedAuth ( ) : boolean
isShutdown ( )
pushMainToThreadPacket ( $str )
pushThreadToMainPacket ( $str )
quit ( )
readMainToThreadPacket ( )
readThreadToMainPacket ( )
reconnect ( )
run ( )
setConnected ( boolean $con )
setNeedAuth ( boolean $need )
shutdown ( )
shutdownHandler ( )

Method Details

__construct() public méthode

public __construct ( ThreadedLogger $logger, ClassLoader $loader, $port, $interface = "127.0.0.1" )
$logger ThreadedLogger
$loader ClassLoader

cleanPath() public méthode

public cleanPath ( $path )

errorHandler() public méthode

public errorHandler ( $errno, $errstr, $errfile, $errline, $context, $trace = null )

getExternalQueue() public méthode

public getExternalQueue ( )

getInterface() public méthode

public getInterface ( )

getInternalQueue() public méthode

public getInternalQueue ( )

getInternalQueueSize() public méthode

getLogger() public méthode

public getLogger ( ) : ThreadedLogger
Résultat ThreadedLogger

getPort() public méthode

public getPort ( )

getThreadName() public méthode

public getThreadName ( )

getTrace() public méthode

public getTrace ( $start = 1, $trace = null )

isConnected() public méthode

public isConnected ( ) : boolean
Résultat boolean

isGarbage() public méthode

public isGarbage ( ) : boolean
Résultat boolean

isNeedAuth() public méthode

public isNeedAuth ( ) : boolean
Résultat boolean

isShutdown() public méthode

public isShutdown ( )

pushMainToThreadPacket() public méthode

public pushMainToThreadPacket ( $str )

pushThreadToMainPacket() public méthode

public pushThreadToMainPacket ( $str )

quit() public méthode

public quit ( )

readMainToThreadPacket() public méthode

readThreadToMainPacket() public méthode

reconnect() public méthode

public reconnect ( )

run() public méthode

public run ( )

setConnected() public méthode

public setConnected ( boolean $con )
$con boolean

setNeedAuth() public méthode

public setNeedAuth ( boolean $need )
$need boolean

shutdown() public méthode

public shutdown ( )

shutdownHandler() public méthode

public shutdownHandler ( )

Property Details

$needReconnect public_oe property

public $needReconnect