\Threadator\Communication\DriverMsgQueue

Summary

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

Constants

DEFAULT_MAX_SIZE

DEFAULT_MAX_SIZE

Properties

$queue

$queue : resource

Type

resource

$identifier

$identifier : string

Type

string

Methods

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

__destruct()

__destruct() : void

__construct()

__construct(string $identifier)

Parameters

string $identifier

__clone()

__clone() : void

getIdentifier()

getIdentifier() : string

Returns

string

init()

init() : void