Interface BinaryMsgClientHandler


public interface BinaryMsgClientHandler
Handler interface to register with a BinaryMsgClient.
Since:
1.0
Version:
2023-12-16
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handleMsg(int apiNum, BinaryMsg msg)
    Called to handle an incoming message.
  • Method Details

    • handleMsg

      void handleMsg(int apiNum, BinaryMsg msg) throws Exception
      Called to handle an incoming message. The supplied message is the response message that contains the incoming message data in the input stream and takes the outgoing response in the output stream. If there is an error, set the error in the message accordingly.
      Parameters:
      apiNum - the apiNum of the handler
      msg - msg to operate on
      Throws:
      Exception