PHP Class pocketmine\command\CommandReader

Inheritance: extends pocketmine\Thread
Datei anzeigen Open project: iTXTech/Genisys Class Usage Examples

Protected Properties

Property Type Description
$buffer Threaded

Public Methods

Method Description
__construct ( $logger )
getLine ( ) : string | null Reads a line from console, if available. Returns null if not available
getThreadName ( )
quit ( )
run ( )
shutdown ( )

Private Methods

Method Description
readLine ( )
readline_callback ( $line )

Method Details

__construct() public method

public __construct ( $logger )

getLine() public method

Reads a line from console, if available. Returns null if not available
public getLine ( ) : string | null
return string | null

getThreadName() public method

public getThreadName ( )

quit() public method

public quit ( )

run() public method

public run ( )

shutdown() public method

public shutdown ( )

Property Details

$buffer protected_oe property

protected Threaded $buffer
return Threaded