protected function handleReply($message)
	{
		// if we dont have a handler for this request, then something is wrong
		if (!array_key_exists($message->RequestId, $this->handlers[static::MESSAGE_TYPE_REPLY]))
		{
			throw new ClientException("Request handler not found");
		}

		// handle the event
		$this->handlers[static::MESSAGE_TYPE_REPLY][$message->RequestId]($message);

		// cleanup the handler, as it is no longer needed
		unset($this->handlers[static::MESSAGE_TYPE_REPLY][$message->RequestId]);
	}
protected function handleReply($message)
	{
		// if we dont have a handler for this request, then something is wrong
		if (!array_key_exists($message->RequestId, $this->handlers[static::MESSAGE_TYPE_REPLY]))
		{
			throw new ClientException("Request handler not found");
		}

		// handle the event
		$this->handlers[static::MESSAGE_TYPE_REPLY][$message->RequestId]($message);

		// cleanup the handler, as it is no longer needed
		unset($this->handlers[static::MESSAGE_TYPE_REPLY][$message->RequestId]);
	}
protected function handleReply ( $ message ) { // if we dont have a handler for this request, then something is wrong if ( ! array_key_exists ( $ message -> RequestId , $ this -> handlers [ static :: MESSAGE_TYPE_REPLY ] ) ) { throw new ClientException ( "Request handler not found" ) ; } // handle the event $ this -> handlers [ static :: MESSAGE_TYPE_REPLY ] [ $ message -> RequestId ] ( $ message ) ; // cleanup the handler, as it is no longer needed unset ( $ this -> handlers [ static :: MESSAGE_TYPE_REPLY ] [ $ message -> RequestId ] ) ; }
Handle an incomming reply

@param   stdClass  $message  the request message
@return  void
Handle an incomming reply