\Core\StdTunnelStd

通道标准

Summary

Methods
Constants
create()
link()
read()
write()
close()
destroy()
EXT
No protected methods found
N/A
No private methods found
N/A

Constants

EXT

EXT = '.switch'

Methods

create()

create(mixed  $base) : self|false

CREATE CHANNEL

Parameters

mixed $base

Returns

self|false —

link()

link(string  $name) : false|static

CONNECTION CHANNEL

Parameters

string $name

Returns

false|static —

read()

read(int  $length, int|null  $resultLength) : string|false

READ DATA

Parameters

int $length
int|null $resultLength

Returns

string|false —

write()

write(string  $context, bool|null  $async = false) : int|bool

WRITE DATA TO THE CHANNEL

Parameters

string $context
bool|null $async

Returns

int|bool —

close()

close() : void

destroy()

destroy() : void