public function onCall(ConnectionInterface $conn, $id, $topic, array $params)
    {
        $this->console->info('onCall');
        $conn->callError($id, $topic, 'You are not allowed to make calls')->close();
    }
public function onCall(ConnectionInterface $conn, $id, $topic, array $params)
    {
        $this->console->info('onCall');
        $conn->callError($id, $topic, 'You are not allowed to make calls')->close();
    }
public function onCall ( ConnectionInterface $ conn , $ id , $ topic , array $ params ) { $ this -> console -> info ( 'onCall' ) ; $ conn -> callError ( $ id , $ topic , 'You are not allowed to make calls' ) -> close ( ) ; }
An RPC call has been received.

@param \Ratchet\ConnectionInterface $conn
@param string                       $id     The unique ID of the RPC, required to respond to
@param string|Topic                 $topic  The topic to execute the call against
@param array                        $params Call parameters received from the client
An RPC call has been received .