Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Target Management » TCF agent issue
TCF agent issue [message #34801] Wed, 29 April 2009 11:02 Go to next message
Karun Saraswat is currently offline Karun SaraswatFriend
Messages: 6
Registered: July 2009
Junior Member
Hi all,

I have one small issue regarding C based TCF. Can anybody please help?

How client will handle the case if agent die without replying to command
issued and wait endlessly for reply from agent? Does current framework
support this scenerio, when same agent powers up again? Can I resume and
abondon the last command?
Also can somebody provide me some pointer how this can be done? I am
exploring the code so it will help me to arrive to a solution quickly.

Thanks
Karun
Re: TCF agent issue [message #34869 is a reply to message #34801] Wed, 29 April 2009 14:25 Go to previous message
Martin Oberhuber is currently offline Martin OberhuberFriend
Messages: 985
Registered: July 2009
Senior Member
Hello Karun,

this is a good question. Since we expect an agent to never die, I'd
rephrase the question a little:

What happens if the connection to an agent is broken during
communications, e.g. due to plugging out a network cable? Are there any
timeouts / exceptions? Is there any retry logic inside the TCF layer, or
would clients of TCF need to implement that on their application layer?

Any ideas or suggestions for code, anyone?

Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm




Karun Saraswat wrote:
> Hi all,
>
> I have one small issue regarding C based TCF. Can anybody please help?
>
> How client will handle the case if agent die without replying to command
> issued and wait endlessly for reply from agent? Does current framework
> support this scenerio, when same agent powers up again? Can I resume and
> abondon the last command? Also can somebody provide me some pointer how
> this can be done? I am exploring the code so it will help me to arrive
> to a solution quickly.
>
> Thanks
> Karun
>
>
Re: TCF agent issue [message #580600 is a reply to message #34801] Wed, 29 April 2009 14:25 Go to previous message
Martin Oberhuber is currently offline Martin OberhuberFriend
Messages: 985
Registered: July 2009
Senior Member
Hello Karun,

this is a good question. Since we expect an agent to never die, I'd
rephrase the question a little:

What happens if the connection to an agent is broken during
communications, e.g. due to plugging out a network cable? Are there any
timeouts / exceptions? Is there any retry logic inside the TCF layer, or
would clients of TCF need to implement that on their application layer?

Any ideas or suggestions for code, anyone?

Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm




Karun Saraswat wrote:
> Hi all,
>
> I have one small issue regarding C based TCF. Can anybody please help?
>
> How client will handle the case if agent die without replying to command
> issued and wait endlessly for reply from agent? Does current framework
> support this scenerio, when same agent powers up again? Can I resume and
> abondon the last command? Also can somebody provide me some pointer how
> this can be done? I am exploring the code so it will help me to arrive
> to a solution quickly.
>
> Thanks
> Karun
>
>
Previous Topic:TCF agent issue
Next Topic:RSE terminals and windows tiling
Goto Forum:
  


Current Time: Wed Nov 26 00:45:19 GMT 2014

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

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