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 08:46 Go to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 5574
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: 972
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: Sun Nov 23 22:30:42 GMT 2014

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

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