public __construct ( string $ipc_filename = __FILE__, integer $channel = 1, boolean $serialize_needed = true, boolean $block_send = true, integer $option_receive = MSG_IPC_NOWAIT, integer $maxsize = 100000 ) | ||
$ipc_filename | string | ipc file to make ipc key. if it does not exists, it will try to create the file. |
$channel | integer | message type |
$serialize_needed | boolean | serialize or not |
$block_send | boolean | if block when the queue is full |
$option_receive | integer | if the value is MSG_IPC_NOWAIT it will not going to wait a message coming. if the value is null, it will block and wait a message |
$maxsize | integer | the max size of queue |