Mobile/Push/Test/ApnsProxy.php

Show: PublicProtectedPrivateinherited
Table of Contents
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

>VPropertyprotectedstring $_readResponse
Read Response
Details
Type
string
>VPropertyprotectedmixed $_writeResponse
Write Response
Details
Type
mixed

Methods

methodprotected_connect( $uri) : true

Connect

Parameters
NameTypeDescription
$uri
Returns
TypeDescription
true
methodprotected_read(string $length) : string

Return Response

Parameters
NameTypeDescription
$lengthstring
Returns
TypeDescription
string
methodprotected_write(string $payload) : int

Write and Return Length

Parameters
NameTypeDescription
$payloadstring
Returns
TypeDescription
int
methodpublicsetReadResponse(string $str) : \Zend_Mobile_Push_ApnsProxy

Set the Response

Parameters
NameTypeDescription
$strstring
Returns
TypeDescription
\Zend_Mobile_Push_ApnsProxy
methodpublicsetWriteResponse(mixed $resp) : void

Set the write response

Parameters
NameTypeDescription
$respmixed
Documentation was generated by phpDocumentor 2.2.0 .