mxmbsocket/tests/Ratchet/Tests/Mock/Application.php
Chris Boden c6a91692f7 Interface Cleanup
Separated Observable interface from Decorator interface, also separated config method to its own interface
Cleaned up unit tests to reflect interface changes
2011-11-13 13:37:42 -05:00

22 lines
543 B
PHP

<?php
namespace Ratchet\Tests\Mock;
use Ratchet\Application\ApplicationInterface;
use Ratchet\Tests\Mock\Socket as MockSocket;
use Ratchet\SocketInterface;
class Application implements ApplicationInterface {
public function __construct(ApplicationInterface $app = null) {
}
public function onOpen(SocketInterface $conn) {
}
public function onRecv(SocketInterface $from, $msg) {
}
public function onClose(SocketInterface $conn) {
}
public function onError(SocketInterface $conn, \Exception $e) {
}
}