|Re: IConnection states [message #619577 is a reply to message #619576]
||Sun, 16 September 2007 14:24
| Scott Lewis
Registered: July 2009
Eike Stepper wrote:
> Hi Scott,
> How do the states isStarted() and isConnected() of IConnection relate to
> each other?
isConnected() is true if the IConnection.connect() method has been
called successfully (i.e. no exceptions).
isStarted() is true if the IConnection.start() method has been called.
IConnection.connect() should be called before IConnection.start().
For any given implementation of IConnection the relation may be
stronger...e.g. IConnection.connect() calls IConnection.start().
Powered by FUDForum
. Page generated in 0.06987 seconds