\Threadator\Communication\DriverADriver

Summary

Methods
Properties
Constants
__construct()
__clone()
getIdentifier()
send()
touch()
receive()
No public properties found
No constants found
init()
$identifier
N/A
No private methods found
No private properties found
N/A

Properties

$identifier

$identifier : string

Type

string

Methods

__construct()

__construct(string $identifier)

Parameters

string $identifier

__clone()

__clone() : void

getIdentifier()

getIdentifier() : string

Returns

string

send()

send(int $key, mixed $message) : bool

Parameters

int $key
mixed $message

Returns

bool

touch()

touch(int $key, mixed $message) : bool

Try to get message, but do not block

Parameters

int $key
mixed $message

Returns

bool

receive()

receive(int $key, mixed $message) : bool

Block until the first message arrives

Parameters

int $key
mixed $message

Returns

bool

init()

init() : void