php-amqplib

Frame
in package

Tags
link
https://livebook.manning.com/book/rabbitmq-in-depth/chapter-2/v-13/22
link

4.2.6 Content Framing

Table of Contents

END  = 0xce
FRAME_HEADER_SIZE  = PhpAmqpLibWireAMQPReader::OCTET + PhpAmqpLibWireAMQPReader::SHORT + PhpAmqpLibWireAMQPReader::LONG
TYPE_BODY  = 3
TYPE_HEADER  = 2
TYPE_HEARTBEAT  = 8
TYPE_METHOD  = 1
$channel  : int
$payload  : string|null
$size  : int
$type  : int
__construct()  : mixed
getChannel()  : int
getPayload()  : string|null
getSize()  : int
getType()  : int
isHeartbeat()  : bool
isMethod()  : bool

Constants

FRAME_HEADER_SIZE

public mixed FRAME_HEADER_SIZE = PhpAmqpLibWireAMQPReader::OCTET + PhpAmqpLibWireAMQPReader::SHORT + PhpAmqpLibWireAMQPReader::LONG

TYPE_BODY

public mixed TYPE_BODY = 3

TYPE_HEADER

public mixed TYPE_HEADER = 2

TYPE_HEARTBEAT

public mixed TYPE_HEARTBEAT = 8

TYPE_METHOD

public mixed TYPE_METHOD = 1

Properties

$channel

private int $channel

$payload

private string|null $payload

Methods

__construct()

public __construct(int $type, int $channel, int $size[, string|null $payload = null ]) : mixed
Parameters
$type : int
$channel : int
$size : int
$payload : string|null = null
Return values
mixed

getChannel()

public getChannel() : int
Return values
int

getPayload()

public getPayload() : string|null
Return values
string|null

getSize()

public getSize() : int
Return values
int

getType()

public getType() : int
Return values
int

isHeartbeat()

public isHeartbeat() : bool
Return values
bool

isMethod()

public isMethod() : bool
Return values
bool

Search results