Interface Sender

    • Method Detail

      • init

        void init​(HeartbeatListener config)
           throws Exception
        Set the configuration parameters
        Parameters:
        config - The heartbeat listener configuration
        Throws:
        Exception - An error occurred
      • send

        int send​(String mess)
          throws Exception
        Send the message to the proxies
        Parameters:
        mess - The message that will be sent
        Returns:
        0 if no error occurred, -1 otherwise
        Throws:
        Exception - An error occurred