
Refactored Command/Composite pattern, now as expected Server recursively executes commands Above changes fixed issues of server/client not being notified on forced disconnects
11 lines
272 B
PHP
11 lines
272 B
PHP
<?php
|
|
namespace Ratchet\Command;
|
|
use Ratchet\SocketInterface;
|
|
|
|
interface ActionInterface extends CommandInterface {
|
|
/**
|
|
* Pass the Sockets to execute the command on
|
|
* @param Ratchet\SocketInterface
|
|
*/
|
|
function __construct(SocketInterface $socket);
|
|
} |