Connect Manager

ProtocolDefinition implements ProtocolDefinitionInterface

FinalYes

Неизменяемое описание протокола.

Tags
SuppressWarnings

("PHPMD.ShortVariable")

("PHPMD.ShortMethodName")

Table of Contents

Interfaces

ProtocolDefinitionInterface
Описание сетевого протокола в реестре менеджера.

Methods

__construct()  : mixed
defaultScheme()  : string
Схема URI по умолчанию (tcp://, http://, unix:// и т.п.).
id()  : string
Канонический идентификатор (например tcp, http, adsl).
isNativeConnectable()  : bool
Можно ли открыть соединение средствами PHP без внешнего драйвера.
name()  : string
Человекочитаемое имя.
osiLayer()  : int
Слой OSI (1–7) или 0 вне модели.
transport()  : string
Базовый транспортный идентификатор (tcp/udp/raw/custom/none).

Methods

__construct()

public __construct(non-empty-string $id, non-empty-string $name, int $osiLayer, non-empty-string $transport, bool $nativeConnectable, non-empty-string $defaultScheme) : mixed
Parameters
$id : non-empty-string
$name : non-empty-string
$osiLayer : int
$transport : non-empty-string
$nativeConnectable : bool
$defaultScheme : non-empty-string

defaultScheme()

Схема URI по умолчанию (tcp://, http://, unix:// и т.п.).

public defaultScheme() : string
Attributes
#[Override]
Return values
string

id()

Канонический идентификатор (например tcp, http, adsl).

public id() : string
Attributes
#[Override]
Return values
string

isNativeConnectable()

Можно ли открыть соединение средствами PHP без внешнего драйвера.

public isNativeConnectable() : bool
Attributes
#[Override]
Return values
bool

name()

Человекочитаемое имя.

public name() : string
Attributes
#[Override]
Return values
string

osiLayer()

Слой OSI (1–7) или 0 вне модели.

public osiLayer() : int
Attributes
#[Override]
Return values
int

transport()

Базовый транспортный идентификатор (tcp/udp/raw/custom/none).

public transport() : string
Attributes
#[Override]
Return values
string
On this page

Search results