PHP Класс RMS\PushNotificationsBundle\Service\OS\BlackberryNotification

Наследование: implements RMS\PushNotificationsBundle\Service\OS\OSNotificationServiceInterface
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$appID string App ID
$evaluation string Evaluation mode or not
$logger Psr\Log\LoggerInterface Monolog logger
$password string Password for auth
$timeout integer Timeout in seconds for the connecting client

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

Метод Описание
__construct ( $evaluation, $appID, $password, $timeout, $logger ) Constructor
send ( RMS\PushNotificationsBundle\Message\MessageInterface $message ) : boolean Sends a Blackberry Push message

Защищенные методы

Метод Описание
constructMessageBody ( RMS\PushNotificationsBundle\Message\BlackberryMessage $message, $separator ) : string Builds the actual body of the message
doSend ( RMS\PushNotificationsBundle\Message\BlackberryMessage $message ) : boolean Does the actual sending
parseResponse ( Buzz\Message\Response $response ) : boolean Handles and parses the response Returns a value indicating success/fail

Приватные методы

Метод Описание
getXMLBody ( RMS\PushNotificationsBundle\Message\BlackberryMessage $message, $messageID ) : string Create the XML body that accompanies the actual push data

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

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

Constructor
public __construct ( $evaluation, $appID, $password, $timeout, $logger )
$evaluation
$appID
$password
$timeout
$logger

constructMessageBody() защищенный Метод

Builds the actual body of the message
protected constructMessageBody ( RMS\PushNotificationsBundle\Message\BlackberryMessage $message, $separator ) : string
$message RMS\PushNotificationsBundle\Message\BlackberryMessage
$separator
Результат string

doSend() защищенный Метод

Does the actual sending
protected doSend ( RMS\PushNotificationsBundle\Message\BlackberryMessage $message ) : boolean
$message RMS\PushNotificationsBundle\Message\BlackberryMessage
Результат boolean

parseResponse() защищенный Метод

Handles and parses the response Returns a value indicating success/fail
protected parseResponse ( Buzz\Message\Response $response ) : boolean
$response Buzz\Message\Response
Результат boolean

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

Sends a Blackberry Push message
public send ( RMS\PushNotificationsBundle\Message\MessageInterface $message ) : boolean
$message RMS\PushNotificationsBundle\Message\MessageInterface
Результат boolean

Описание свойств

$appID защищенное свойство

App ID
protected string $appID
Результат string

$evaluation защищенное свойство

Evaluation mode or not
protected string $evaluation
Результат string

$logger защищенное свойство

Monolog logger
protected LoggerInterface,Psr\Log $logger
Результат Psr\Log\LoggerInterface

$password защищенное свойство

Password for auth
protected string $password
Результат string

$timeout защищенное свойство

Timeout in seconds for the connecting client
protected int $timeout
Результат integer