Hazaar\Warlock
SocketClient
Summary
MethodsPropertiesConstants
No constants
Properties
$address
$address
$admin
$admin
$closing
$closing
$frameBuffer
$frameBuffer
$id
$id
$jobs
$jobs
If the client has any child jobs
$lastContact
$lastContact
$offset
$offset
Any detected time offset. This doesn't need to be exact so we don't bother worrying about latency.
$payloadBuffer
$payloadBuffer
$ping
$ping
$port
$port
$process
$process
If the client has an associated process. ie: a service
$resource
$resource
$since
$since
$socketCount
$socketCount
$status
$status
$subscriptions
$subscriptions
This is an array of event_id and socket pairs
$type
$type
$username
$username
Methods
__construct()
__construct($server, $id, $type = 'client', $resource = null, $uid = null, $options = Array ( ) )
getType()
getType()
isLegacy()
isLegacy()
isSubscribed()
isSubscribed($event_id)
ping()
ping()
pong()
pong()
sendEvent()
sendEvent($event_id, $trigger_id, $data)
subscribe()
subscribe($event_id, $resource = null)
unsubscribe()
unsubscribe($event_id, $resource = null)
Powered by Scroly.io Generated: Thursday, October 3rd 2019 at 2:45pm