PHP Class Kraken\Network\Websocket\Driver\Version\RFC6455\Connection

Inheritance: implements Kraken\Network\NetworkConnectionInterface
Show file Open project: kraken-php/framework

Protected Properties

Property Type Description
$connection Kraken\Network\NetworkConnectionInterface

Public Methods

Method Description
__construct ( Kraken\Network\NetworkConnectionInterface $connection )
__destruct ( )
__get ( string $name ) : mixed
__isset ( string $name ) : boolean
__set ( string $name, mixed $value )
__unset ( $name )
close ( $code = 1000 )
getAddress ( )
getConnection ( ) : Kraken\Network\NetworkConnectionInterface Return decorated connection.
getEndpoint ( )
getHost ( )
getPort ( )
getResourceId ( )
send ( $msg )

Method Details

__construct() public method

public __construct ( Kraken\Network\NetworkConnectionInterface $connection )
$connection Kraken\Network\NetworkConnectionInterface

__destruct() public method

public __destruct ( )

__get() public method

public __get ( string $name ) : mixed
$name string
return mixed

__isset() public method

public __isset ( string $name ) : boolean
$name string
return boolean

__set() public method

public __set ( string $name, mixed $value )
$name string
$value mixed

__unset() public method

public __unset ( $name )
$name

close() public method

public close ( $code = 1000 )

getAddress() public method

public getAddress ( )

getConnection() public method

Return decorated connection.
public getConnection ( ) : Kraken\Network\NetworkConnectionInterface
return Kraken\Network\NetworkConnectionInterface

getEndpoint() public method

public getEndpoint ( )

getHost() public method

public getHost ( )

getPort() public method

public getPort ( )

getResourceId() public method

public getResourceId ( )

send() public method

public send ( $msg )

Property Details

$connection protected property

protected NetworkConnectionInterface,Kraken\Network $connection
return Kraken\Network\NetworkConnectionInterface