PHP Class AMQPBasicProperties

Show file Open project: pdezwart/php-amqp Class Usage Examples

Public Methods

Method Description
__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.

Method Details

__construct() public method

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() public method

Get the application id of the message.
public getAppId ( ) : string
return string The application id of the message.

getClusterId() public method

Get the cluster id of the message.
public getClusterId ( ) : string
return string The cluster id of the message.

getContentEncoding() public method

Get the content encoding of the message.
public getContentEncoding ( ) : string
return string The content encoding of the message.

getContentType() public method

Get the message content type.
public getContentType ( ) : string
return string The content type of the message.

getCorrelationId() public method

Get the message correlation id.
public getCorrelationId ( ) : string
return string The correlation id of the message.

getDeliveryMode() public method

Get the delivery mode of the message.
public getDeliveryMode ( ) : integer
return integer The delivery mode of the message.

getExpiration() public method

Get the expiration of the message.
public getExpiration ( ) : string
return string The message expiration.

getHeaders() public method

Get the headers of the message.
public getHeaders ( ) : array
return array An array of key value pairs associated with the message.

getMessageId() public method

Get the message id of the message.
public getMessageId ( ) : string
return string The message id

getPriority() public method

Get the priority of the message.
public getPriority ( ) : integer
return integer The message priority.

getReplyTo() public method

Get the reply-to address of the message.
public getReplyTo ( ) : string
return string The contents of the reply to field.

getTimestamp() public method

Get the timestamp of the message.
public getTimestamp ( ) : string
return string The message timestamp.

getType() public method

Get the message type.
public getType ( ) : string
return string The message type.

getUserId() public method

Get the message user id.
public getUserId ( ) : string
return string The message user id.