RFA suspect state

magno.yu
magno.yu Newcomer

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

Tagged:

Best Answer

  • Gurpreet
    Gurpreet admin
    Answer ✓

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