interface for a class that can handle a deserialized request

package | Amfphp_Core_Common
author | Ariel Sommeria-klein

### Methods

## handle the deserialized request, usually by making a series of calls to a service.

    handleDeserializedRequest(mixed $deserializedRequest, \Amfphp_Core_Common_ServiceRouter $serviceRouter) : mixed

This should not handle exceptions, as this is done separately

### Parameters

#### $deserializedRequest

`mixed`

For Amf, this is an AmfPacket

#### $serviceRouter

`\Amfphp_Core_Common_ServiceRouter`

the service router created and configured by the gateway

### Returns

`mixed`the response object. For Amf, this is an AmfPacket