Check the status of the client after initalization.

Is there any way to check if the client has initialized properly before making calls to it? Some kind of status that can be check or an event?

1 Answer

« Back to question.

Hello,

If the connection has not raised any exception this means that you are connected to the cluster.

Do you see anything special in your application?

Regards
Tug
@tgrall

So the situation is a continuation from my previous post about the exception "Object has invalid operation state" . I was getting this exception when trying to access a view while the client was having trouble communicating to the cluster. It took me some time to find that this exception was due to a client/cluster setting and not a code issue. It would have been nice to get some kind of message saying "Unable to connect to cluster or some status I could check before I start accessing objects on the server.