JAVA API回调异常

使用JavaAPI对接路透,回调client都会有哪些异常情况?在回调onRefreshMsg()接口推送的信息中,FiledEntry中load的值为空或者(blank data)时是什么情况?

Tagged:

Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    @lingjia.jiang

    Thanks for reaching out to us.

    You can refer to the ex330_Login_Streaming example that demonstrates the opening of the login stream as well as its processing. Having a login stream open is useful for consumer applications willing to get the state of its connectivity to the server.

    To handle blank data, please refer to the ex200_MP_Streaming example.

    if (Data.DataCode.BLANK == fieldEntry.code())
       System.out.println(" blank");

    Please feel free to reach out if you have any further questions.

Answers