Currently, I am using RFA .Net consumer and researching about possible all errors for Data State and Stream States, when processing the MarketPrice Response. Could you provide all the possible value for RespMsg.StatusText, and the related meaning for it.
I could not find it anywhere in the RFA .net or RDM documentation.It would be great if anyone could provide more details about it.
You can certainly log the StatusText value - can be quite useful for diagnostic purposes.We just don't recommend you parse or query the text value and control program behaviour based on Status text value.
I cannot say if messages will always start with a particular character - as stated earlier the text value can change over time.
The Status Text message values can change over time, they are not guaranteed to remain the same - so you should not program any code which parses/acts upon the content of the text value
The links are for the online docs, but you should be able to find the same in the offline docs included with the RFA .NET SDK
Thank you for your info.
Just to confirm an extra question.
When the dataState = EDataState.Suspect. Does status text help to log the error? Is there any special rules for the StatusText message. For example, the error message always start with "*".
Thank you for your answer.
I am trying to cover all the errors from DataState and StreamState.
For DataState, I record all the item whenever the DataState changes from OK to Suspect. For the StreamState, does the StreamState change from Open to Non-Open indicates error or not?
As far as I understand, if it's not the case that your app closes the item stream(using unregisterClient etc.), the stream state change from Open to Non-Open may indicate some error or change on the Provider Server-side.
Have you checked the information from RFA.NET Developer Guide(RFANET_DevelopersGuide.pdf provided under folder Docs) section 7.1.14 Response Status (the Stream States and the Data States)? There is some description about the item stream state and data state.