TrackManiaControl/application/core/Files/SocketStructure.php

26 lines
466 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-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 = '';
}
}