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 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;
|
|
|
|
$this->streamBuffer = '';
|
|
|
|
}
|
|
|
|
}
|