[moriarty] r325 committed - Made processCurlMessage and related instance variables protected inste...

1 view
Skip to first unread message

mori...@googlecode.com

unread,
Oct 12, 2011, 6:41:41 AM10/12/11
to moriarty...@googlegroups.com
Revision: 325
Author: jhi...@gmail.com
Date: Wed Oct 12 03:41:28 2011
Log: Made processCurlMessage and related instance variables protected
instead of private so that we can subclass CurlHttpClient.
http://code.google.com/p/moriarty/source/detail?r=325

Modified:
/trunk/curlhttpclient.class.php

=======================================
--- /trunk/curlhttpclient.class.php Fri Sep 9 05:55:33 2011
+++ /trunk/curlhttpclient.class.php Wed Oct 12 03:41:28 2011
@@ -9,11 +9,11 @@
*/
class CurlHttpClient extends HttpClient
{
- private $curl_handles = array();
- private $requests = array();
- private $responses = array();
- private $multicurl;
- private $running;
+ protected $curl_handles = array();
+ protected $requests = array();
+ protected $responses = array();
+ protected $multicurl;
+ protected $running;

public function __construct()
{
@@ -110,7 +110,7 @@

}

- private function processCurlMessage($done)
+ protected function processCurlMessage($done)
{
$key = (string)$done['handle'];
$raw_response = curl_multi_getcontent($done['handle']);

Reply all
Reply to author
Forward
0 new messages