In general the documentation and sample code provided only make passing reference to the RediLib.Application object and it's use. Were it not for the sample code there's not enough documentation on creating a Redi connection. Based on this I'm left in the dark a bit on how I am to determine if my connection to Redi Plus is active.
There are a few callbacks
within the RediLib.Application object that don’t seem to ever be called.
Namely Connected and Disconnected. None of the demo code seemed to make
any use of them and I was wondering if they were deprecated or just called
infrequently. I've tried turning off the
RediPlus app while connected to see if it would create a disconnect event and it did not.
This lead me wondering how will I know if I’m connected to REDI? Sure
there’s a few callbacks when I connect giving me msg 14 stuff. But if the
RediPlus App dies or the connection drops is there any way for my code to know
about it?
I'm attempted to call the method IsApplicationReady every few minutes but it throws an exception.
The API documentation doesn't talk about it and the sample code doesn’t seem
to cover it either.
Thanks,