PHP Class Kraken\Channel\Model\Socket\Connection\Connection

显示文件 Open project: kraken-php/framework

Public Properties

Property Type Description
$client Kraken\Ipc\Socket\SocketInterface
$id string

Public Methods

Method Description
__construct ( string $id, Kraken\Ipc\Socket\SocketInterface $client )
__destruct ( )
getId ( ) : string
getSocket ( ) : Kraken\Ipc\Socket\SocketInterface

Method Details

__construct() public method

public __construct ( string $id, Kraken\Ipc\Socket\SocketInterface $client )
$id string
$client Kraken\Ipc\Socket\SocketInterface

__destruct() public method

public __destruct ( )

getId() public method

public getId ( ) : string
return string

getSocket() public method

public getSocket ( ) : Kraken\Ipc\Socket\SocketInterface
return Kraken\Ipc\Socket\SocketInterface

Property Details

$client public_oe property

public SocketInterface,Kraken\Ipc\Socket $client
return Kraken\Ipc\Socket\SocketInterface

$id public_oe property

public string $id
return string