Property | Type | Description | |
---|---|---|---|
$allowselfsigned | boolean | Allow self-signed? | |
$cafile | string | CA file | |
$certfile | string | Certificate file | |
$ctx | mixed | Context | |
$ctxname | string | Context name | |
$enabled | boolean | Enabled? | |
$erroneous | boolean | Erroneous? | |
$ev | EventListener\Event | Event | |
$fd | mixed | File descriptor | |
$listenerMode | boolean | Listener mode? | |
$passphrase | string | Passphrase | |
$pid | integer | PID of process which bound this socket | |
$pkfile | string | Private key file | |
$pool | Pool | ||
$reuse | boolean | Reuse? | |
$revision | integer | Revision | |
$source | string | Source | |
$ssl | mixed | SSL | |
$tls | mixed | TLS | |
$uri | string | URI | |
$verifydepth | integer | Verify depth | |
$verifypeer | boolean | Verify peer? |
Method | Description | |
---|---|---|
__construct ( $uri ) : object | Constructor | |
__destruct ( ) : void | Destructor | |
__toString ( ) : string | toString handler | |
attachTo ( |
Attach to ConnectionPool | |
bindSocket ( ) : boolean | Bind given addreess | |
close ( ) : void | Close each of binded sockets. | |
disable ( ) : void | Disable all events of sockets | |
enable ( ) : void | Enable socket events | |
finish ( ) : void | Finishes Generic | |
getPort ( ) : string | null | Get port | |
getUri ( ) : string | Get URI | |
netMatch ( $CIDR, $IP ) : boolean | Checks if the CIDR-mask matches the IP | |
onAcceptEv ( EventListener $listener, $fd, $addrPort, $ctx ) | ||
setFd ( string $fd ) : void | Route incoming request to related application |
Method | Description | |
---|---|---|
importParams ( ) : void | Import parameters | |
initSecureContext ( ) : void | Initialize SSL/TLS context | |
onBound ( ) : boolean | null | Called when socket is bound |
abstract public bindSocket ( ) : boolean | ||
return | boolean | Success. |
protected initSecureContext ( ) : void | ||
return | void |
public onAcceptEv ( EventListener $listener, $fd, $addrPort, $ctx ) | ||
$listener | EventListener | |
$fd | ||
$addrPort | ||
$ctx |
protected bool $allowselfsigned | ||
return | boolean |
protected Pool,PHPDaemon\Network $pool | ||
return |