start
public void start()
throws LiveViewException,
java.lang.InterruptedException
You should connect to your server successfully before returning from this call. Once you return, the failedAttemptsCount associated with your TableProvider
will be cleared, so don't return until you feel that some measure of success was achieved. Note that a new thread is created for the call to this method, so
if you need to poll your server, you can simply not return from this method. However, if this is the case, then you should call the clearRetryCount() method of
the TableProviderControl once you have successfullly connected.
If you are unable to connect with your back end, or if you lose the connection in a polling situation, throw a LiveViewException out of this method.
If you are polling the back end, you will get an interrupt from your Thread.sleep() if your TableProvider is being closed. You can just let it throw out
of the method or you can catch it, clean up, and rethrow it.
- Specified by:
start
in interface TableProvider
- Throws:
LiveViewException
java.lang.InterruptedException