Zend Framework  1.12
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Zend_Mobile_Push_Test_ApnsProxy Class Reference

Public Member Functions

 setReadResponse ($str)
 Set the Response.
 
 setWriteResponse ($resp)
 Set the write response.
 
- Public Member Functions inherited from Zend_Mobile_Push_Apns
 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.
 
- Public Member Functions inherited from Zend_Mobile_Push_Abstract
 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.
 

Protected Member Functions

 _connect ($uri)
 Connect.
 
 _read ($length)
 Return Response.
 
 _write ($payload)
 Write and Return Length.
 
- Protected Member Functions inherited from Zend_Mobile_Push_Apns
 _connect ($uri)
 Connect to Socket.
 
 _read ($length)
 Read from the Socket Server.
 
 _write ($payload)
 Write to the Socket Server.
 

Protected Attributes

 $_readResponse
 
 $_writeResponse
 
- Protected Attributes inherited from Zend_Mobile_Push_Apns
 $_serverUriList
 
 $_currentEnv
 
 $_socket
 
 $_certificate
 
 $_certificatePassphrase
 
- Protected Attributes inherited from Zend_Mobile_Push_Abstract
 $_isConnected = false
 

Additional Inherited Members

- Public Attributes inherited from Zend_Mobile_Push_Apns
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
 

Member Function Documentation

_connect (   $uri)
protected

Connect.

Returns
true
_read (   $length)
protected

Return Response.

Parameters
string$length
Returns
string
_write (   $payload)
protected

Write and Return Length.

Parameters
string$payload
Returns
int
setReadResponse (   $str)

Set the Response.

Parameters
string$str
Returns
Zend_Mobile_Push_ApnsProxy
setWriteResponse (   $resp)

Set the write response.

Parameters
mixed$resp
Returns
void

Member Data Documentation

$_readResponse
protected
$_writeResponse
protected