\Hazaar\Warlock
Process
Abstract
Summary
Methods Properties Constants
log
$id
No constants
Properties
$application
$application
$bytes_received
$bytes_received
$closing
$closing
$frameBuffer
$frameBuffer
$id
$id
$key
$key
$payloadBuffer
$payloadBuffer
$protocol
$protocol
$socket
$socket
$subscriptions
$subscriptions
Methods
__construct()
__construct($application, $protocol)

Parameters

$application\Hazaar\Application

No description

$protocol\Hazaar\Application\Protocol

No description

__destruct()
__destruct()
__processCommand()
__processCommand($command, $payload = null)

Parameters

$command

No description

$payload

No description

connect()
connect($application_name, $host, $port, $job_id = null, $access_key = null)

Parameters

$application_name

No description

$host

No description

$port

No description

$job_id

No description

$access_key

No description

connected()
connected()
disconnect()
disconnect()
kill()
kill($service)

Parameters

$service

No description

log()
log($level, $message)

Parameters

$level

No description

$message

No description

ping()
ping($wait_pong = false)

Parameters

$wait_pong

No description

processFrame()
processFrame($frameBuffer = null)

Parameters

$frameBuffer

No description

recv()
recv($payload = null, $tv_sec = 3, $tv_usec = 0)

Parameters

$payload

No description

$tv_sec

No description

$tv_usec

No description

send()
send($command, $payload = null)

Parameters

$command

No description

$payload

No description

setErrorHandler()
setErrorHandler($methodName)

Parameters

$methodName

No description

setExceptionHandler()
setExceptionHandler($methodName)

Parameters

$methodName

No description

spawn()
spawn($service, $params = Array ( ) )

Parameters

$service

No description

$params

No description

subscribe()
subscribe($event, $callback, $filter = null)

Parameters

$event

No description

$callback

No description

$filter

No description

trigger()
trigger($event, $data = null, $echo_self = false)

Parameters

$event

No description

$data

No description

$echo_self

No description

unsubscribe()
unsubscribe($event)

Parameters

$event

No description