프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$allowedClients | Allowed clients |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$bound | Bound sockets |
메소드 | 설명 | |
---|---|---|
__construct ( array $config = [], boolean $init = true ) | Constructor | |
attachBound ( |
Attach Generic | |
bindSocket ( string $uri ) : boolean | Bind given socket | |
bindSockets ( mixed $addrs = [], integer $max ) : integer | Bind given sockets | |
closeBound ( ) : void | Close each of binded sockets | |
detachBound ( |
Detach Generic | |
inheritFromRequest ( object $req, object $oldConn ) : boolean | Called when a request to HTTP-server looks like another connection |
메소드 | 설명 | |
---|---|---|
applyConfig ( ) : void | Applies config | |
onDisable ( ) : void | Called when ConnectionPool is now disabled | |
onEnable ( ) : void | Called when ConnectionPool is now enabled | |
onFinish ( ) : void | Called when ConnectionPool is finished |
public __construct ( array $config = [], boolean $init = true ) | ||
$config | array | Config variables |
$init | boolean |
public attachBound ( |
||
$bound | Generic | |
$inf | mixed | Info |
리턴 | void |
public bindSocket ( string $uri ) : boolean | ||
$uri | string | Address to bind |
리턴 | boolean | Success |
public detachBound ( |
||
$bound | Generic | |
리턴 | void |