finished asynchronousfilereader
This commit is contained in:
committed by
Steffen Schröder
parent
9b748fe067
commit
928aabb4d2
@ -1,11 +1,9 @@
|
||||
<?php
|
||||
/**
|
||||
* Created by PhpStorm.
|
||||
* User: Lukas
|
||||
* Date: 07.02.14
|
||||
* Time: 00:18
|
||||
* Socket Structure
|
||||
*
|
||||
* @author kremsy & steeffeen
|
||||
*/
|
||||
|
||||
namespace ManiaControl\Files;
|
||||
|
||||
/**
|
||||
@ -15,8 +13,10 @@ class SocketStructure {
|
||||
public $streamBuffer;
|
||||
public $socket;
|
||||
public $function;
|
||||
public $url;
|
||||
|
||||
public function construct($socket, $function) {
|
||||
public function __construct($url, $socket, $function) {
|
||||
$this->url = $url;
|
||||
$this->socket = $socket;
|
||||
$this->function = $function;
|
||||
$this->streamBuffer = '';
|
||||
|
Reference in New Issue
Block a user