Zend Framework
1.12
|
Public Member Functions | |
getCertificate () | |
Get Certficiate. | |
setCertificate ($cert) | |
Set Certificate. | |
getCertificatePassphrase () | |
Get Certificate Passphrase. | |
setCertificatePassphrase ($passphrase) | |
Set Certificate Passphrase. | |
connect ($env=self::SERVER_PRODUCTION_URI) | |
Connect to the Push Server. | |
feedback () | |
Feedback. | |
send (Zend_Mobile_Push_Message_Abstract $message) | |
Send Message. | |
close () | |
Close Connection. | |
![]() | |
connect () | |
Connect to the Push Server. | |
send (Zend_Mobile_Push_Message_Abstract $message) | |
Send a Push Message. | |
close () | |
Close the Connection to the Push Server. | |
isConnected () | |
Is Connected. | |
setOptions (array $options) | |
Set Options. | |
Public Attributes | |
const | SERVER_SANDBOX_URI = 0 |
int apple server uri constants | |
const | SERVER_PRODUCTION_URI = 1 |
const | SERVER_FEEDBACK_SANDBOX_URI = 2 |
const | SERVER_FEEDBACK_PRODUCTION_URI = 3 |
Protected Member Functions | |
_connect ($uri) | |
Connect to Socket. | |
_read ($length) | |
Read from the Socket Server. | |
_write ($payload) | |
Write to the Socket Server. | |
Protected Attributes | |
$_serverUriList | |
$_currentEnv | |
$_socket | |
$_certificate | |
$_certificatePassphrase | |
![]() | |
$_isConnected = false | |
|
protected |
Connect to Socket.
string | $uri |
Zend_Mobile_Push_Exception_ServerUnavailable |
|
protected |
Read from the Socket Server.
int | $length |
|
protected |
Write to the Socket Server.
string | $payload |
close | ( | ) |
connect | ( | $env = self::SERVER_PRODUCTION_URI | ) |
feedback | ( | ) |
Feedback.
getCertificate | ( | ) |
Get Certficiate.
getCertificatePassphrase | ( | ) |
Get Certificate Passphrase.
send | ( | Zend_Mobile_Push_Message_Abstract | $message | ) |
Send Message.
Zend_Mobile_Push_Message_Apns | $message |
Zend_Mobile_Push_Exception | |
Zend_Mobile_Push_Exception_ServerUnavailable | |
Zend_Mobile_Push_Exception_InvalidToken | |
Zend_Mobile_Push_Exception_InvalidTopic | |
Zend_Mobile_Push_Exception_InvalidPayload |
Implements Zend_Mobile_Push_Interface.
setCertificate | ( | $cert | ) |
Set Certificate.
string | $cert |
Zend_Mobile_Push_Exception |
setCertificatePassphrase | ( | $passphrase | ) |
Set Certificate Passphrase.
string | $passphrase |
Zend_Mobile_Push_Exception |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
const SERVER_FEEDBACK_PRODUCTION_URI = 3 |
const SERVER_FEEDBACK_SANDBOX_URI = 2 |
const SERVER_PRODUCTION_URI = 1 |
const SERVER_SANDBOX_URI = 0 |
int apple server uri constants