PHP Class raklib\server\RakLibServer

Inheritance: extends Thread
Mostrar archivo Open project: iTXTech/Genisys Class Usage Examples

Public Properties

Property Type Description
$loadPaths

Protected Properties

Property Type Description
$externalQueue Threaded
$interface
$internalQueue Threaded
$loader
$logger ThreadedLogger
$mainPath
$port
$shutdown

Public Methods

Method Description
__construct ( ThreadedLogger $logger, ClassLoader $loader, integer $port, string $interface = "0.0.0.0" )
cleanPath ( $path )
errorHandler ( $errno, $errstr, $errfile, $errline, $context, $trace = null )
getExternalQueue ( ) : Threaded
getInterface ( )
getInternalQueue ( ) : Threaded
getLogger ( ) : ThreadedLogger
getPort ( )
getTrace ( $start = 1, $trace = null )
isShutdown ( )
pushMainToThreadPacket ( $str )
pushThreadToMainPacket ( $str )
readMainToThreadPacket ( )
readThreadToMainPacket ( )
run ( )
shutdown ( )
shutdownHandler ( )

Protected Methods

Method Description
addDependency ( array &$loadPaths, ReflectionClass $dep )

Method Details

__construct() public method

public __construct ( ThreadedLogger $logger, ClassLoader $loader, integer $port, string $interface = "0.0.0.0" )
$logger ThreadedLogger
$loader ClassLoader
$port integer
$interface string

addDependency() protected method

protected addDependency ( array &$loadPaths, ReflectionClass $dep )
$loadPaths array
$dep ReflectionClass

cleanPath() public method

public cleanPath ( $path )

errorHandler() public method

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

getExternalQueue() public method

public getExternalQueue ( ) : Threaded
return Threaded

getInterface() public method

public getInterface ( )

getInternalQueue() public method

public getInternalQueue ( ) : Threaded
return Threaded

getLogger() public method

public getLogger ( ) : ThreadedLogger
return ThreadedLogger

getPort() public method

public getPort ( )

getTrace() public method

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

isShutdown() public method

public isShutdown ( )

pushMainToThreadPacket() public method

public pushMainToThreadPacket ( $str )

pushThreadToMainPacket() public method

public pushThreadToMainPacket ( $str )

readMainToThreadPacket() public method

readThreadToMainPacket() public method

run() public method

public run ( )

shutdown() public method

public shutdown ( )

shutdownHandler() public method

public shutdownHandler ( )

Property Details

$externalQueue protected_oe property

protected Threaded $externalQueue
return Threaded

$interface protected_oe property

protected $interface

$internalQueue protected_oe property

protected Threaded $internalQueue
return Threaded

$loadPaths public_oe property

public $loadPaths

$loader protected_oe property

protected $loader

$logger protected_oe property

protected ThreadedLogger $logger
return ThreadedLogger

$mainPath protected_oe property

protected $mainPath

$port protected_oe property

protected $port

$shutdown protected_oe property

protected $shutdown