Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Communications Framework (ECF) » IConnection states
IConnection states [message #619576] Sun, 16 September 2007 04:46 Go to next message
Eike Stepper is currently offline Eike Stepper
Messages: 5159
Registered: July 2009
Senior Member
Hi Scott,

How do the states isStarted() and isConnected() of IConnection relate to
each other?

Cheers
/Eike
Re: IConnection states [message #619577 is a reply to message #619576] Sun, 16 September 2007 14:24 Go to previous message
Scott Lewis is currently offline Scott Lewis
Messages: 942
Registered: July 2009
Senior Member
Hi Eike,

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().

Scott
Previous Topic:blog posting
Next Topic:Problems starting up ECF Server
Goto Forum:
  


Current Time: Sat May 25 20:01:27 EDT 2013

Powered by FUDForum. Page generated in 0.01459 seconds