|
Re: TCF agent issue [message #34869 is a reply to message #34801] |
Wed, 29 April 2009 14:25 |
Martin Oberhuber Messages: 1007 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 |
Martin Oberhuber Messages: 1007 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
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03293 seconds