TrackManiaControl/application/core/Files/SocketStructure.php

28 lines
510 B
PHP
Raw Normal View History

2014-02-07 00:19:53 +01:00
<?php
/**
2014-02-07 12:30:53 +01:00
* Socket Structure
*
* @author kremsy & steeffeen
2014-02-07 00:19:53 +01:00
*/
2014-02-07 00:26:32 +01:00
namespace ManiaControl\Files;
2014-02-07 00:19:53 +01:00
/**
* Socket Structure
*/
class SocketStructure {
public $streamBuffer;
public $socket;
public $function;
2014-02-07 12:30:53 +01:00
public $url;
2014-02-07 17:27:09 +01:00
public $creationTime;
2014-02-17 00:34:20 +01:00
public $header;
2014-02-07 00:19:53 +01:00
2014-02-07 12:30:53 +01:00
public function __construct($url, $socket, $function) {
$this->url = $url;
2014-02-07 00:19:53 +01:00
$this->socket = $socket;
$this->function = $function;
2014-02-07 17:27:09 +01:00
$this->creationTime = time();
2014-02-07 00:19:53 +01:00
$this->streamBuffer = '';
2014-02-17 00:34:20 +01:00
$this->header = array();
2014-02-07 00:19:53 +01:00
}
}