TrackManiaControl/application/core/Files/SocketStructure.php
2014-05-01 17:35:23 +02:00

28 lines
510 B
PHP

<?php
/**
* Socket Structure
*
* @author kremsy & steeffeen
*/
namespace ManiaControl\Files;
/**
* Socket Structure
*/
class SocketStructure {
public $streamBuffer;
public $socket;
public $function;
public $url;
public $creationTime;
public $header;
public function __construct($url, $socket, $function) {
$this->url = $url;
$this->socket = $socket;
$this->function = $function;
$this->creationTime = time();
$this->streamBuffer = '';
$this->header = array();
}
}