PHP Интерфейс Kraken\Network\NetworkConnectionInterface

Наследование: extends Ratchet\ConnectionInterface
Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
close ( ) Close the connection.
getAddress ( ) : string Get the remote address of connection.
getEndpoint ( ) : string Get the remote endpoint of connection.
getHost ( ) : string Get the remote host of connection.
getPort ( ) : string Get the remote port of connection.
getResourceId ( ) : integer Get the resource id of connection.
send ( string $data ) Send data to the connection.

Описание методов

close() публичный Метод

Close the connection.
public close ( )

getAddress() публичный Метод

Get the remote address of connection.
public getAddress ( ) : string
Результат string

getEndpoint() публичный Метод

Get the remote endpoint of connection.
public getEndpoint ( ) : string
Результат string

getHost() публичный Метод

Get the remote host of connection.
public getHost ( ) : string
Результат string

getPort() публичный Метод

Get the remote port of connection.
public getPort ( ) : string
Результат string

getResourceId() публичный Метод

Get the resource id of connection.
public getResourceId ( ) : integer
Результат integer

send() публичный Метод

Send data to the connection.
public send ( string $data )
$data string