CREventSender
This class extends CRClient
It implements the sendevent resource.
Event info is converted to strings and written to a socket named [clientId].sock
Contstructor
See CRClient
Methods
- sendEvent($recipientClientId, $msgEventType, $msgEventData)
- Sends a string representing a messageEvent to a recipientClient
Parameters
- $recipientClientId
- String, required
- Identifies the recipient client
- $msgEventType
- String, required
- The messageEvent type
- $msgEventData
- String, default = ""
- The messageEvent data