Documentation

UPnPNetworkInterface
in package
implements NetworkInterface

Interfaces, Classes, Traits and Enums

NetworkInterface
Network interfaces are transport layers which can be used to transmit packets between the server and clients.

Table of Contents

$ip  : string
$logger  : Logger
$port  : int
$serviceURL  : string|null
__construct()  : mixed
setName()  : void
shutdown()  : void
Gracefully shuts down the network interface.
start()  : void
Performs actions needed to start the interface after it is registered.
tick()  : void
Called every tick to process events on the interface.

Properties

Methods

__construct()

public __construct(Logger $logger, string $ip, int $port) : mixed
Parameters
$logger : Logger
$ip : string
$port : int
Return values
mixed

setName()

public setName(string $name) : void
Parameters
$name : string
Return values
void

shutdown()

Gracefully shuts down the network interface.

public shutdown() : void
Return values
void

start()

Performs actions needed to start the interface after it is registered.

public start() : void
Return values
void

tick()

Called every tick to process events on the interface.

public tick() : void
Return values
void

Search results