芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/joolsmen.com/chat/vendor/cboden/ratchet/src/Ratchet/Wamp/WampServer.php
wampProtocol = new ServerProtocol(new TopicManager($app)); } /** * {@inheritdoc} */ public function onOpen(ConnectionInterface $conn) { $this->wampProtocol->onOpen($conn); } /** * {@inheritdoc} */ public function onMessage(ConnectionInterface $conn, $msg) { try { $this->wampProtocol->onMessage($conn, $msg); } catch (Exception $we) { $conn->close(1007); } } /** * {@inheritdoc} */ public function onClose(ConnectionInterface $conn) { $this->wampProtocol->onClose($conn); } /** * {@inheritdoc} */ public function onError(ConnectionInterface $conn, \Exception $e) { $this->wampProtocol->onError($conn, $e); } /** * {@inheritdoc} */ public function getSubProtocols() { return $this->wampProtocol->getSubProtocols(); } }