Property | Type | Description | |
---|---|---|---|
$connCollection | SplObjectStorage | ||
$wsDriver | Kraken\Network\Websocket\Driver\WsDriverInterface | ||
$wsServer | Kraken\Network\NetworkComponentInterface |
Method | Description | |
---|---|---|
__construct ( Kraken\Network\NetworkComponentAwareInterface $aware = null, Kraken\Network\NetworkComponentInterface $component = null ) | ||
__destruct ( ) | ||
getComponent ( ) | ||
getDriver ( ) | ||
handleConnect ( Kraken\Network\NetworkConnectionInterface $conn ) | ||
handleDisconnect ( Kraken\Network\NetworkConnectionInterface $conn ) | ||
handleError ( Kraken\Network\NetworkConnectionInterface $conn, $ex ) | ||
handleMessage ( Kraken\Network\NetworkConnectionInterface $conn, Kraken\Network\NetworkMessageInterface $message ) | ||
setComponent ( Kraken\Network\NetworkComponentInterface $component = null ) |
Method | Description | |
---|---|---|
attemptUpgrade ( Kraken\Network\NetworkConnectionInterface $conn ) | ||
close ( Kraken\Network\NetworkConnectionInterface $conn, integer $code = 400 ) : null | Close a connection with an HTTP response. |
public __construct ( Kraken\Network\NetworkComponentAwareInterface $aware = null, Kraken\Network\NetworkComponentInterface $component = null ) | ||
$aware | Kraken\Network\NetworkComponentAwareInterface | |
$component | Kraken\Network\NetworkComponentInterface |
protected attemptUpgrade ( Kraken\Network\NetworkConnectionInterface $conn ) | ||
$conn | Kraken\Network\NetworkConnectionInterface |
public handleConnect ( Kraken\Network\NetworkConnectionInterface $conn ) | ||
$conn | Kraken\Network\NetworkConnectionInterface |
public handleDisconnect ( Kraken\Network\NetworkConnectionInterface $conn ) | ||
$conn | Kraken\Network\NetworkConnectionInterface |
public handleError ( Kraken\Network\NetworkConnectionInterface $conn, $ex ) | ||
$conn | Kraken\Network\NetworkConnectionInterface |
public handleMessage ( Kraken\Network\NetworkConnectionInterface $conn, Kraken\Network\NetworkMessageInterface $message ) | ||
$conn | Kraken\Network\NetworkConnectionInterface | |
$message | Kraken\Network\NetworkMessageInterface |
public setComponent ( Kraken\Network\NetworkComponentInterface $component = null ) | ||
$component | Kraken\Network\NetworkComponentInterface |
protected SplObjectStorage $connCollection | ||
return | SplObjectStorage |
protected WsDriverInterface,Kraken\Network\Websocket\Driver $wsDriver | ||
return | Kraken\Network\Websocket\Driver\WsDriverInterface |