2) not many... i only included it because someone once needed a sort
of fall-back scenario for when the server was offline and he had some
kind of 'local' handler implementation that he wanted to fall back on
3) if you're looking for some kind of generic solution, it could get
messy... there's no direct link between a Response type and the actual
Request type you need to send to get such a response... so whichever
way you intend to go, you'll need some kind of map to store which
request type corresponds to what response type
3) if you're looking for some kind of generic solution, it could getmessy... there's no direct link between a Response type and the actual
Request type you need to send to get such a response... so whichever
way you intend to go, you'll need some kind of map to store which
request type corresponds to what response typeOn Tue, Jan 18, 2011 at 4:47 PM, nabils <a...@shuhaiber.com> wrote:
> I have a few questions below:
>
> 3) I would like to write some retrying logic for the client where
> on failure of a request it asks the client if they would like to
> retry. What is the best way to do this?