ConnectionMethods
Table of Contents
Methods
- accessRequest() : bool
- send AMQP access.request frame
- connectionClose() : bool
- send AMQP connection.close frame
- connectionCloseOk() : bool
- send AMQP connection.closeOk frame
- connectionHeartbeat() : bool
- send AMQP connection.heartbeat frame
- connectionOpen() : bool
- send AMQP connection.open frame
- connectionSecureOk() : bool
- send AMQP connection.secureOk frame
- connectionStartOk() : bool
- send AMQP connection.startOk frame
- connectionTuneOk() : bool
- send AMQP connection.tuneOk frame
Methods
accessRequest()
send AMQP access.request frame
public
accessRequest([string $realm = '/data' ][, bool $exclusive = false ][, bool $passive = true ][, bool $active = true ][, bool $write = true ][, bool $read = true ]) : bool
The current conventional AMQP-server broker generally do not need to handle it by themselves
Parameters
- $realm : string = '/data'
- $exclusive : bool = false
- $passive : bool = true
- $active : bool = true
- $write : bool = true
- $read : bool = true
Return values
boolconnectionClose()
send AMQP connection.close frame
public
connectionClose(int $replyCode, string $replyText, int $closeClassId, int $closeMethodId) : bool
Parameters
- $replyCode : int
- $replyText : string
- $closeClassId : int
- $closeMethodId : int
Return values
boolconnectionCloseOk()
send AMQP connection.closeOk frame
public
connectionCloseOk() : bool
Return values
boolconnectionHeartbeat()
send AMQP connection.heartbeat frame
public
connectionHeartbeat() : bool
Return values
boolconnectionOpen()
send AMQP connection.open frame
public
connectionOpen([string $virtualHost = '/' ][, string $capabilities = '' ][, bool $insist = false ]) : bool
Parameters
- $virtualHost : string = '/'
- $capabilities : string = ''
- $insist : bool = false
Return values
boolconnectionSecureOk()
send AMQP connection.secureOk frame
public
connectionSecureOk(mixed $response) : bool
Parameters
- $response : mixed
Return values
boolconnectionStartOk()
send AMQP connection.startOk frame
public
connectionStartOk(array<string|int, mixed> $clientProperties, string $mechanism, string $response[, string $locale = 'en_US' ]) : bool
Parameters
- $clientProperties : array<string|int, mixed>
- $mechanism : string
- $response : string
- $locale : string = 'en_US'
Return values
boolconnectionTuneOk()
send AMQP connection.tuneOk frame
public
connectionTuneOk([int $channelMax = 0 ][, int $frameMax = 0 ][, int $heartbeat = 0 ]) : bool
Parameters
- $channelMax : int = 0
- $frameMax : int = 0
- $heartbeat : int = 0