DumpServer
in package
A server collecting Data clones sent by a ServerDumper.
Tags
Table of Contents
- $host : mixed
- $logger : mixed
- $socket : resource|null
- __construct() : mixed
- getHost() : string
- listen() : void
- start() : void
- getMessages() : iteratable<string|int, mixed>
Properties
$host
private
mixed
$host
$logger
private
mixed
$logger
$socket
private
resource|null
$socket
Methods
__construct()
public
__construct(string $host[, LoggerInterface|null $logger = null ]) : mixed
Parameters
- $host : string
- $logger : LoggerInterface|null = null
Return values
mixed —getHost()
public
getHost() : string
Return values
string —listen()
public
listen(callable $callback) : void
Parameters
- $callback : callable
Return values
void —start()
public
start() : void
Return values
void —getMessages()
private
getMessages() : iteratable<string|int, mixed>