projects
/
brisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
65c6a67
)
'room' attribute renamed in 'app'
author
Matteo Nastasi
<nastasi@alternativeoutput.it>
Fri, 3 Aug 2012 16:58:37 +0000
(18:58 +0200)
committer
Matteo Nastasi
<nastasi@alternativeoutput.it>
Fri, 3 Aug 2012 16:58:37 +0000
(18:58 +0200)
web/Obj/sac-a-push.phh
patch
|
blob
|
history
diff --git
a/web/Obj/sac-a-push.phh
b/web/Obj/sac-a-push.phh
index
3c66c12
..
bdb4b59
100644
(file)
--- a/
web/Obj/sac-a-push.phh
+++ b/
web/Obj/sac-a-push.phh
@@
-173,7
+173,7
@@
class Sac_a_push {
var $debug;
var $blocking_mode;
var $debug;
var $blocking_mode;
- var $
room
;
+ var $
app
;
var $bin5;
var $curtime;
var $bin5;
var $curtime;
@@
-187,11
+187,11
@@
class Sac_a_push {
// Sac_a_push::create("/tmp/brisk.sock", 0, 0
// Sac_a_push::create("/tmp/brisk.sock", 0, 0
- static function create(&$
room
, $sockname, $debug, $blocking_mode)
+ static function create(&$
app
, $sockname, $debug, $blocking_mode)
{
$thiz = new Sac_a_push();
{
$thiz = new Sac_a_push();
- $thiz->
room = $room
;
+ $thiz->
app = $app
;
$thiz->file_socket = $sockname;
$thiz->unix_socket = "unix://$sockname";
$thiz->debug = $debug;
$thiz->file_socket = $sockname;
$thiz->unix_socket = "unix://$sockname";
$thiz->debug = $debug;
@@
-326,7
+326,7
@@
class Sac_a_push {
$addr = stream_socket_get_name($new_socket, TRUE);
$header_out = array();
$addr = stream_socket_get_name($new_socket, TRUE);
$header_out = array();
- $this->
room
->request_mgr($this, $header_out, $new_socket, $path, $addr, $get, $post, $cookie);
+ $this->
app
->request_mgr($this, $header_out, $new_socket, $path, $addr, $get, $post, $cookie);
printf("number of sockets after %d\n", count($this->socks));
}
else {
printf("number of sockets after %d\n", count($this->socks));
}
else {