\Amfphp_Core_Common_IDeserializedRequestHandler

interface for a class that can handle a deserialized request

Summary

Methods
Constants
handleDeserializedRequest()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

handleDeserializedRequest()

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

handle the deserialized request, usually by making a series of calls to a service. This should not handle exceptions, as this is done separately

Parameters

mixed $deserializedRequest

For Amf, this is an AmfPacket

\Amfphp_Core_Common_ServiceRouter $serviceRouter

the service router created and configured by the gateway

Returns

mixed —

the response object. For Amf, this is an AmfPacket