question

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

Upvotes
Accepted
17.1k 46 13 19

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.