Skip to main content



      Home
Home » Archived » Eclipse Communications Framework (ECF) » IConnection states
IConnection states [message #619576] Sun, 16 September 2007 04:46 Go to next message
Eclipse UserFriend
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
Eclipse UserFriend
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: Tue May 13 21:24:30 EDT 2025

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

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

Back to the top