Pipe
Less than 1 minute
Pipe
Properties
bytesReceived
public int $bytesReceived
guid
public string $guid
protocol
private Protocol $protocol
buffer
private string $buffer
Methods
__construct
public __construct({Array})
Parameters
Parameter | Type | Description |
---|---|---|
$protocol | Protocol | |
$guid | string |
connect
public connect({Array})
Parameters
Parameter | Type | Description |
---|---|---|
$applicationName | string | |
$host | string | |
$port | int | |
$extra_headers | array |
disconnect
public disconnect({Array})
connected
public connected({Array})
send
public send({Array})
Parameters
Parameter | Type | Description |
---|---|---|
$command | string | |
$payload | mixed |
recv
public recv({Array})
Parameters
Parameter | Type | Description |
---|---|---|
$payload | mixed | |
$tv_sec | int | |
$tv_usec | int |
processPacket
private processPacket({Array})
Parameters
Parameter | Type | Description |
---|---|---|
$buffer | string |
Generated by Hazaar API Doc Generator