Example #1
0
 public function handleData($data, $conn)
 {
     try {
         $this->app->onMessage($conn->decor, $data);
     } catch (\Exception $e) {
         $this->handleError($e, $conn);
     }
 }
Example #2
0
 /**
  * {@inheritdoc}
  */
 function onMessage(ConnectionInterface $from, $msg)
 {
     return $this->_decorating->onMessage($from, $msg);
 }
Example #3
0
 /**
  * {@inheritdoc}
  */
 function onMessage(ConnectionInterface $from, $msg)
 {
     return $this->_app->onMessage($from, $msg);
 }