Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Eclipse Communications Framework (ECF) » IConnection states
IConnection states [message #619576] Sun, 16 September 2007 08:46 Go to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
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 18:24 Go to previous message
Scott Lewis is currently offline Scott LewisFriend
Messages: 1038
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: Fri Apr 26 09:16:07 GMT 2024

Powered by FUDForum. Page generated in 0.03254 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top