Mobile/Push/Test/ApnsProxy.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled
with this package in the file LICENSE.txt.
It is also available through the world-wide-web at this URL:
http://framework.zend.com/license/new-bsd
If you did not receive a copy of the license and are unable to
obtain it through the world-wide-web, please send an email
to license@zend.com so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Mobile
- Subpackage
- Push
- Version
- $Id $
\Zend_Mobile_Push_Test_ApnsProxy
Package: Zend_Mobile\Push


Apns Test Proxy
This class is utilized for unit testing purposes
- Parent(s)
- \Zend_Mobile_Push_Apns < \Zend_Mobile_Push_Abstract
- Category
- Zend
Properties
Methods


_read(string $length) : string
Return Response
Parameters
Returns
Name | Type | Description |
---|---|---|
$length | string |
Type | Description |
---|---|
string |


_write(string $payload) : int
Write and Return Length
Parameters
Returns
Name | Type | Description |
---|---|---|
$payload | string |
Type | Description |
---|---|
int |


setReadResponse(string $str) : \Zend_Mobile_Push_ApnsProxy
Set the Response
Parameters
Returns
Name | Type | Description |
---|---|---|
$str | string |
Type | Description |
---|---|
\Zend_Mobile_Push_ApnsProxy |