Свойство | Тип | Описание | |
---|---|---|---|
$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 |
public __construct ( $evaluation, $appID, $password, $timeout, $logger ) | ||
$evaluation | ||
$appID | ||
$password | ||
$timeout | ||
$logger |
protected constructMessageBody ( RMS\PushNotificationsBundle\Message\BlackberryMessage $message, $separator ) : string | ||
$message | RMS\PushNotificationsBundle\Message\BlackberryMessage | |
$separator | ||
Результат | string |
protected parseResponse ( Buzz\Message\Response $response ) : boolean | ||
$response | Buzz\Message\Response | |
Результат | boolean |
protected string $evaluation | ||
Результат | string |
protected LoggerInterface,Psr\Log $logger | ||
Результат | Psr\Log\LoggerInterface |
protected int $timeout | ||
Результат | integer |