Aerys\Server classServer implementsAerys\Monitor

Summary

Properties

Methods

Properties

Methods

__construct —public function__construct(Aerys\Options$options,Aerys\VhostContainer$vhosts,Aerys\Logger$logger,Aerys\Ticker$ticker)
No documentation.
Type Parameter Description Default Value
Aerys\Options $options No documentation. none
Aerys\VhostContainer $vhosts No documentation. none
Aerys\Logger $logger No documentation. none
Aerys\Ticker $ticker No documentation. none
state —public functionstate():int

Retrieve the current server state

getOption —public functiongetOption(string$option)

Retrieve a server option value

Type Parameter Description Default Value
string $option The option to retrieve none
setOption —public functionsetOption(string$option,mixed$newValue):void

Assign a server option value

Type Parameter Description Default Value
string $option The option to retrieve none
mixed $newValue No documentation. none
attach —public functionattach(Aerys\ServerObserver$observer):void

Attach an observer

Type Parameter Description Default Value
Aerys\ServerObserver $observer No documentation. none
detach —public functiondetach(Aerys\ServerObserver$observer):void

Detach an Observer

Type Parameter Description Default Value
Aerys\ServerObserver $observer No documentation. none
start —public functionstart():Amp\Promise

Start the server

__get —public function__get(string$prop)
No documentation.
Type Parameter Description Default Value
string $prop No documentation. none
__set —public function__set(string$prop,$val)
No documentation.
Type Parameter Description Default Value
string $prop No documentation. none
mixed $val No documentation. none
stop —public functionstop():Amp\Promise

Stop the server

__debugInfo —public function__debugInfo()
No documentation.
monitor —public functionmonitor():array
No documentation.