PHP Класс AMQPBasicProperties

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( string $content_type = "", string $content_encoding = "", array $headers = [], integer $delivery_mode = 2, integer $priority, string $correlation_id = "", string $reply_to = "", string $expiration = "", string $message_id = "", integer $timestamp, string $type = "", string $user_id = "", string $app_id = "", string $cluster_id = "" )
getAppId ( ) : string Get the application id of the message.
getClusterId ( ) : string Get the cluster id of the message.
getContentEncoding ( ) : string Get the content encoding of the message.
getContentType ( ) : string Get the message content type.
getCorrelationId ( ) : string Get the message correlation id.
getDeliveryMode ( ) : integer Get the delivery mode of the message.
getExpiration ( ) : string Get the expiration of the message.
getHeaders ( ) : array Get the headers of the message.
getMessageId ( ) : string Get the message id of the message.
getPriority ( ) : integer Get the priority of the message.
getReplyTo ( ) : string Get the reply-to address of the message.
getTimestamp ( ) : string Get the timestamp of the message.
getType ( ) : string Get the message type.
getUserId ( ) : string Get the message user id.

Описание методов

__construct() публичный Метод

public __construct ( string $content_type = "", string $content_encoding = "", array $headers = [], integer $delivery_mode = 2, integer $priority, string $correlation_id = "", string $reply_to = "", string $expiration = "", string $message_id = "", integer $timestamp, string $type = "", string $user_id = "", string $app_id = "", string $cluster_id = "" )
$content_type string
$content_encoding string
$headers array
$delivery_mode integer
$priority integer
$correlation_id string
$reply_to string
$expiration string
$message_id string
$timestamp integer
$type string
$user_id string
$app_id string
$cluster_id string

getAppId() публичный Метод

Get the application id of the message.
public getAppId ( ) : string
Результат string The application id of the message.

getClusterId() публичный Метод

Get the cluster id of the message.
public getClusterId ( ) : string
Результат string The cluster id of the message.

getContentEncoding() публичный Метод

Get the content encoding of the message.
public getContentEncoding ( ) : string
Результат string The content encoding of the message.

getContentType() публичный Метод

Get the message content type.
public getContentType ( ) : string
Результат string The content type of the message.

getCorrelationId() публичный Метод

Get the message correlation id.
public getCorrelationId ( ) : string
Результат string The correlation id of the message.

getDeliveryMode() публичный Метод

Get the delivery mode of the message.
public getDeliveryMode ( ) : integer
Результат integer The delivery mode of the message.

getExpiration() публичный Метод

Get the expiration of the message.
public getExpiration ( ) : string
Результат string The message expiration.

getHeaders() публичный Метод

Get the headers of the message.
public getHeaders ( ) : array
Результат array An array of key value pairs associated with the message.

getMessageId() публичный Метод

Get the message id of the message.
public getMessageId ( ) : string
Результат string The message id

getPriority() публичный Метод

Get the priority of the message.
public getPriority ( ) : integer
Результат integer The message priority.

getReplyTo() публичный Метод

Get the reply-to address of the message.
public getReplyTo ( ) : string
Результат string The contents of the reply to field.

getTimestamp() публичный Метод

Get the timestamp of the message.
public getTimestamp ( ) : string
Результат string The message timestamp.

getType() публичный Метод

Get the message type.
public getType ( ) : string
Результат string The message type.

getUserId() публичный Метод

Get the message user id.
public getUserId ( ) : string
Результат string The message user id.