New posts are disabled while we improve the user experience.

You can browse the site, or for urgent issues, raise a query at MyAccount.

question

Upvotes
Accepted
3 0 2 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.

1 Answer

· Write an Answer
Upvotes
Accepted
25.1k 68 15 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.