Documentation

UPnP
in package

Table of Contents

MAX_DISCOVERY_ATTEMPTS  = 3
getServiceUrl()  : string
portForward()  : void
removePortForward()  : void
makePcreError()  : RuntimeException

Constants

MAX_DISCOVERY_ATTEMPTS

private mixed MAX_DISCOVERY_ATTEMPTS = 3

Methods

getServiceUrl()

public static getServiceUrl() : string
Tags
throws
UPnPException
Return values
string

portForward()

public static portForward(string $serviceURL, string $internalIP, int $internalPort, int $externalPort) : void
Parameters
$serviceURL : string
$internalIP : string
$internalPort : int
$externalPort : int
Tags
throws
UPnPException
Return values
void

removePortForward()

public static removePortForward(string $serviceURL, int $externalPort) : void
Parameters
$serviceURL : string
$externalPort : int
Return values
void

makePcreError()

private static makePcreError() : RuntimeException
Return values
RuntimeException

Search results