[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE : [Tsp-devel] failure provider link on TSP_consumer_request_s ample(
From: |
ZXOPESOGE001, Ext |
Subject: |
RE : [Tsp-devel] failure provider link on TSP_consumer_request_s ample() |
Date: |
Wed, 25 Apr 2007 16:58:00 +0200 |
My problem is that the TSP_consumer_request_sample function returns
no status.
My code is the following:
MSG_TRACE(INOUT_LOW, "avt TSP_consumer_request_sample ");
result = TSP_consumer_request_sample(_scoe,symbolsList);
MSG_TRACE(INOUT_LOW, "aps TSP_consumer_request_sample "<< result );
if( TSP_STATUS_ERROR_SYMBOLS == result || TSP_STATUS_OK == result )
{
//add available symbol to EIF internal list and add bad symbols to
errorList
_acqParamList->addAvailableSymbol(symbolsList,freq,errorList);
}
else
{
MSG_SW_ERROR("SCOE " << MSG_PTR(_scoeName) << " :
TSP_consumer_request_sample failed" );
throw OCEIF_TSP_Exception(OCEIF_TSP_ADDPARAM_PB_IDNB,
OCEIF_TSP_ADDPARAM_PB_NAME,
OCEIF_TSP_ADDPARAM_PB_REASON);
}
My problen is that i never have the msg trace ""aps TSP_consumer_request_sample
" and in this way i have not the status of the request.And then, i can't throw
my exception....
My last trace is a TSP trace :(STRACE_DEBUG =7)
> TSP
> Request||/home/intocv61/VAla/TSP/sources/src/core/driver/tsp_consumer.c##TSP_consumer_request_sample##978:
> SAMPLE
>
> ERROR||/home/intocv61/VAla/TSP/sources/src/core/rpc/tsp_client.c##TSP_request_sample##252:
> : RPC: Unable to receive; errno = Connection reset by pee
--
Sarah
// Desallocate and Finalize symbols list
-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Eric Noulard
Sent: Wednesday, April 25, 2007 4:48 PM
To: Transport Sample Protocol development list
Subject: Re: [Tsp-devel] failure provider link on TSP_consumer_request_sample()
2007/4/25, ZXOPESOGE001, Ext <address@hidden>:
>
>
>
> hello,
>
> I try to test a failure of communication between consumer and provider.For
> that, i make a ctr-c on provider and i try with consumer to make a
> TSP_consumer_request_sample().But , i have no exception and no result.
What do you mean by no exception? no result?
Do you mean that the TSP_consumer_request_sample function call never returns?
The thread you launched (if any) for tsp con
>
>
>
> My last message error is :
>
> TSP
> Request||/home/intocv61/VAla/TSP/sources/src/core/driver/tsp_consumer.c##TSP_consumer_request_sample##978:
> SAMPLE
>
> ERROR||/home/intocv61/VAla/TSP/sources/src/core/rpc/tsp_client.c##TSP_request_sample##252:
> : RPC: Unable to receive; errno = Connection reset by pee
>
>
>
> How can i do to handle this error ?
If I assume that the TSP_consumer_request_sample function returns
normally.
The call to TSP_consumer_request_sample has a return code
which should be checked and different from the usual
TSP_STATUS_OK
this kind of error should set retcode to
TSP_STATUS_ERROR_PROVIDER_UNREACHABLE
When you get this kind of returned code, you probably
have to:
1) TSP_consumer_disconnect_one(theUnreachableProvider)
theUnreachableProvider is the TSP_provider_t you get
from the previous TSP_consumer_connect_url call.
2) then restart your tsp call from:
TSP_consumer_connect_url
--
Erk
_______________________________________________
Tsp-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/tsp-devel
Ce courriel (incluant ses eventuelles pieces jointes) peut contenir des
informations confidentielles et/ou protegees ou dont la diffusion est
restreinte. Si vous avez recu ce courriel par erreur, vous ne devez ni le
copier, ni l'utiliser, ni en divulguer le contenu a quiconque. Merci d'en
avertir immediatement l'expediteur et d'effacer ce courriel de votre systeme.
Astrium decline toute responsabilite en cas de corruption par virus,
d'alteration ou de falsification de ce courriel lors de sa transmission par
voie electronique.
This email (including any attachments) may contain confidential and/or
privileged information or information otherwise protected from disclosure. If
you are not the intended recipient, please notify the sender immediately, do
not copy this message or any attachments and do not use it for any purpose or
disclose its content to any person, but delete this message and any attachments
from your system. Astrium disclaims any and all liability if this email
transmission was virus corrupted, altered or falsified.
---------------------------------------------------------------------
Astrium SAS (393 341 516 RCS Paris) - Siege social: 6 rue Laurent Pichat, 75016
Paris, France
- RE : [Tsp-devel] failure provider link on TSP_consumer_request_s ample(),
ZXOPESOGE001, Ext <=