question

Upvotes
Accepted
3 0 1 5

RFA suspect state

Hi, I come across with this code:

public static boolean isBadStatusResponse(OMMMsg msg) {
  
return ((msg.getMsgType() == OMMMsg.MsgType.STATUS_RESP)
&& (msg.getRespTypeNum() == OMMMsg.RespType.SOLICITED)
&& (msg.has(OMMMsg.HAS_STATE))
&& (msg.getState().getDataState() == OMMState.Data.SUSPECT));
}

When will we get a SUSPECT state? Thanks

treprfarfa-api
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hello @magno.yu

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?
If yes, please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,
AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such. Thanks, AHS

1 Answer

· Write an Answer
Upvotes
Accepted
22k 58 14 21

There can be many reasons for the SUSPECT state. It can be generated when API or any infrastructure component looses the network connection.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.