Table of Contents
-
MAX_DISCOVERY_ATTEMPTS
= 3
-
getServiceUrl()
: string
-
portForward()
: void
-
removePortForward()
: void
-
makePcreError()
: RuntimeException
MAX_DISCOVERY_ATTEMPTS
private
mixed
MAX_DISCOVERY_ATTEMPTS
= 3
getServiceUrl()
public
static getServiceUrl() : string
-
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
-
-
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
—